• Home
  • Raw
  • Download

Lines Matching refs:from_iter

177   assert_eq!(Vec::from_iter(av.clone().drain(..)), vec![1, 2, 3]);  in ArrayVec_drain()
179 assert_eq!(Vec::from_iter(av.clone().drain(..2)), vec![1, 2]); in ArrayVec_drain()
180 assert_eq!(Vec::from_iter(av.clone().drain(..3)), vec![1, 2, 3]); in ArrayVec_drain()
182 assert_eq!(Vec::from_iter(av.clone().drain(..=1)), vec![1, 2]); in ArrayVec_drain()
183 assert_eq!(Vec::from_iter(av.clone().drain(..=2)), vec![1, 2, 3]); in ArrayVec_drain()
185 assert_eq!(Vec::from_iter(av.clone().drain(0..)), vec![1, 2, 3]); in ArrayVec_drain()
186 assert_eq!(Vec::from_iter(av.clone().drain(1..)), vec![2, 3]); in ArrayVec_drain()
188 assert_eq!(Vec::from_iter(av.clone().drain(0..2)), vec![1, 2]); in ArrayVec_drain()
189 assert_eq!(Vec::from_iter(av.clone().drain(0..3)), vec![1, 2, 3]); in ArrayVec_drain()
190 assert_eq!(Vec::from_iter(av.clone().drain(1..2)), vec![2]); in ArrayVec_drain()
191 assert_eq!(Vec::from_iter(av.clone().drain(1..3)), vec![2, 3]); in ArrayVec_drain()
193 assert_eq!(Vec::from_iter(av.clone().drain(0..=1)), vec![1, 2]); in ArrayVec_drain()
194 assert_eq!(Vec::from_iter(av.clone().drain(0..=2)), vec![1, 2, 3]); in ArrayVec_drain()
195 assert_eq!(Vec::from_iter(av.clone().drain(1..=1)), vec![2]); in ArrayVec_drain()
196 assert_eq!(Vec::from_iter(av.clone().drain(1..=2)), vec![2, 3]); in ArrayVec_drain()
207 assert_eq!(Vec::from_iter(av.clone().splice(.., None)), vec![1, 2, 3]); in ArrayVec_splice()
209 assert_eq!(Vec::from_iter(av.clone().splice(..2, None)), vec![1, 2]); in ArrayVec_splice()
210 assert_eq!(Vec::from_iter(av.clone().splice(..3, None)), vec![1, 2, 3]); in ArrayVec_splice()
212 assert_eq!(Vec::from_iter(av.clone().splice(..=1, None)), vec![1, 2]); in ArrayVec_splice()
213 assert_eq!(Vec::from_iter(av.clone().splice(..=2, None)), vec![1, 2, 3]); in ArrayVec_splice()
215 assert_eq!(Vec::from_iter(av.clone().splice(0.., None)), vec![1, 2, 3]); in ArrayVec_splice()
216 assert_eq!(Vec::from_iter(av.clone().splice(1.., None)), vec![2, 3]); in ArrayVec_splice()
218 assert_eq!(Vec::from_iter(av.clone().splice(0..2, None)), vec![1, 2]); in ArrayVec_splice()
219 assert_eq!(Vec::from_iter(av.clone().splice(0..3, None)), vec![1, 2, 3]); in ArrayVec_splice()
220 assert_eq!(Vec::from_iter(av.clone().splice(1..2, None)), vec![2]); in ArrayVec_splice()
221 assert_eq!(Vec::from_iter(av.clone().splice(1..3, None)), vec![2, 3]); in ArrayVec_splice()
223 assert_eq!(Vec::from_iter(av.clone().splice(0..=1, None)), vec![1, 2]); in ArrayVec_splice()
224 assert_eq!(Vec::from_iter(av.clone().splice(0..=2, None)), vec![1, 2, 3]); in ArrayVec_splice()
225 assert_eq!(Vec::from_iter(av.clone().splice(1..=1, None)), vec![2]); in ArrayVec_splice()
226 assert_eq!(Vec::from_iter(av.clone().splice(1..=2, None)), vec![2, 3]); in ArrayVec_splice()