• Home
  • Raw
  • Download

Lines Matching refs:from_iter

43   assert_eq!(Vec::from_iter(tv.clone().drain(..)), vec![1, 2, 3]);  in TinyVec_drain()
45 assert_eq!(Vec::from_iter(tv.clone().drain(..2)), vec![1, 2]); in TinyVec_drain()
46 assert_eq!(Vec::from_iter(tv.clone().drain(..3)), vec![1, 2, 3]); in TinyVec_drain()
48 assert_eq!(Vec::from_iter(tv.clone().drain(..=1)), vec![1, 2]); in TinyVec_drain()
49 assert_eq!(Vec::from_iter(tv.clone().drain(..=2)), vec![1, 2, 3]); in TinyVec_drain()
51 assert_eq!(Vec::from_iter(tv.clone().drain(0..)), vec![1, 2, 3]); in TinyVec_drain()
52 assert_eq!(Vec::from_iter(tv.clone().drain(1..)), vec![2, 3]); in TinyVec_drain()
54 assert_eq!(Vec::from_iter(tv.clone().drain(0..2)), vec![1, 2]); in TinyVec_drain()
55 assert_eq!(Vec::from_iter(tv.clone().drain(0..3)), vec![1, 2, 3]); in TinyVec_drain()
56 assert_eq!(Vec::from_iter(tv.clone().drain(1..2)), vec![2]); in TinyVec_drain()
57 assert_eq!(Vec::from_iter(tv.clone().drain(1..3)), vec![2, 3]); in TinyVec_drain()
59 assert_eq!(Vec::from_iter(tv.clone().drain(0..=1)), vec![1, 2]); in TinyVec_drain()
60 assert_eq!(Vec::from_iter(tv.clone().drain(0..=2)), vec![1, 2, 3]); in TinyVec_drain()
61 assert_eq!(Vec::from_iter(tv.clone().drain(1..=1)), vec![2]); in TinyVec_drain()
62 assert_eq!(Vec::from_iter(tv.clone().drain(1..=2)), vec![2, 3]); in TinyVec_drain()
73 assert_eq!(Vec::from_iter(tv.clone().splice(.., None)), vec![1, 2, 3]); in TinyVec_splice()
75 assert_eq!(Vec::from_iter(tv.clone().splice(..2, None)), vec![1, 2]); in TinyVec_splice()
76 assert_eq!(Vec::from_iter(tv.clone().splice(..3, None)), vec![1, 2, 3]); in TinyVec_splice()
78 assert_eq!(Vec::from_iter(tv.clone().splice(..=1, None)), vec![1, 2]); in TinyVec_splice()
79 assert_eq!(Vec::from_iter(tv.clone().splice(..=2, None)), vec![1, 2, 3]); in TinyVec_splice()
81 assert_eq!(Vec::from_iter(tv.clone().splice(0.., None)), vec![1, 2, 3]); in TinyVec_splice()
82 assert_eq!(Vec::from_iter(tv.clone().splice(1.., None)), vec![2, 3]); in TinyVec_splice()
84 assert_eq!(Vec::from_iter(tv.clone().splice(0..2, None)), vec![1, 2]); in TinyVec_splice()
85 assert_eq!(Vec::from_iter(tv.clone().splice(0..3, None)), vec![1, 2, 3]); in TinyVec_splice()
86 assert_eq!(Vec::from_iter(tv.clone().splice(1..2, None)), vec![2]); in TinyVec_splice()
87 assert_eq!(Vec::from_iter(tv.clone().splice(1..3, None)), vec![2, 3]); in TinyVec_splice()
89 assert_eq!(Vec::from_iter(tv.clone().splice(0..=1, None)), vec![1, 2]); in TinyVec_splice()
90 assert_eq!(Vec::from_iter(tv.clone().splice(0..=2, None)), vec![1, 2, 3]); in TinyVec_splice()
91 assert_eq!(Vec::from_iter(tv.clone().splice(1..=1, None)), vec![2]); in TinyVec_splice()
92 assert_eq!(Vec::from_iter(tv.clone().splice(1..=2, None)), vec![2, 3]); in TinyVec_splice()