Searched refs:xs_d (Results 1 – 1 of 1) sorted by relevance
113 let mut xs_d = Vec::new(); in dedup() localVariable114 xs.iter().dedup().fold((), |(), &elt| xs_d.push(elt)); in dedup()115 assert_eq!(&xs_d, &ys); in dedup()149 let mut xs_d = Vec::new(); in dedup_by() localVariable150 xs.iter().dedup_by(|x, y| x.1==y.1).fold((), |(), &elt| xs_d.push(elt)); in dedup_by()151 assert_eq!(&xs_d, &ys); in dedup_by()