Lines Matching defs:tmp
753 let tmp = std::mem::take(&mut data);
755 to_extend.extend(tmp.into_iter());
1005 let tmp = std::mem::take(&mut data);
1007 tmp.into_iter()
1025 let tmp = std::mem::take(&mut data);
1026 let mangled = tmp
22832 let mut tmp = mem::ManuallyDrop::new(ptr::read(&v[0]));
22842 // fill the hole in `v` with `tmp`, thus ensuring that `v` still holds every object it
22844 let mut hole = InsertionHole { src: &mut *tmp, dest: &mut v[1] };
22848 if !is_less(&v[i], &*tmp) {
22854 // `hole` gets dropped and thus copies `tmp` into the remaining hole in `v`.
29172 let tmp = cursor.split_before();
29174 m = tmp;
29182 let tmp = cursor.split_after();
29183 assert_eq!(tmp.into_iter().collect::<Vec<_>>(), &[102, 103, 8, 2, 3, 4, 5, 6]);