Lines Matching defs:collected
7553 assert_eq!(Rc::strong_count(&drop_count[1]), 2, "one element was collected");
43699 let collected: Vec<_> = dq.iter().copied().collect();
43700 assert_eq!(dq.as_slices(), (&collected[..], &[] as &[_]));
46736 // if the drop panics then we also leak any elements collected into dst_buf
46764 /// collected. `end` is the last writable element of the allocation and used for bounds checks.
50035 let mut collected = self.replace_with.by_ref().collect::<Vec<I::Item>>().into_iter();
50037 if collected.len() > 0 {
50038 self.drain.move_tail(collected.len());
50039 let filled = self.drain.fill(&mut collected);
50041 debug_assert_eq!(collected.len(), 0);