We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
impl Trait
1 parent 0bb11f4 commit 4304686Copy full SHA for 4304686
1 file changed
library/alloc/tests/slice.rs
@@ -1001,11 +1001,7 @@ fn test_split_iterators_size_hint() {
1001
Lower,
1002
Upper,
1003
}
1004
- fn assert_precise_size_hints<I: Iterator>(
1005
- mut it: I,
1006
- which: Bounds,
1007
- context: impl fmt::Display,
1008
- ) {
+ fn assert_precise_size_hints(mut it: impl Iterator, which: Bounds, context: impl fmt::Display) {
1009
match which {
1010
Bounds::Lower => {
1011
let mut lower_bounds = vec![it.size_hint().0];
0 commit comments