@@ -943,7 +943,7 @@ fn test_splitator_left_inclusive() {
943
943
assert_eq ! ( xs. split_left_inclusive( |_| true ) . collect:: <Vec <& [ i32 ] >>( ) , splits) ;
944
944
945
945
let xs: & [ i32 ] = & [ ] ;
946
- let splits: & [ & [ i32 ] ] = & [ & [ ] ] ;
946
+ let splits: & [ & [ i32 ] ] = & [ ] ;
947
947
assert_eq ! ( xs. split_left_inclusive( |x| * x == 5 ) . collect:: <Vec <& [ i32 ] >>( ) , splits) ;
948
948
}
949
949
@@ -963,7 +963,7 @@ fn test_splitator_left_inclusive_reverse() {
963
963
assert_eq ! ( xs. split_left_inclusive( |_| true ) . rev( ) . collect:: <Vec <_>>( ) , splits) ;
964
964
965
965
let xs: & [ i32 ] = & [ ] ;
966
- let splits: & [ & [ i32 ] ] = & [ & [ ] ] ;
966
+ let splits: & [ & [ i32 ] ] = & [ ] ;
967
967
assert_eq ! ( xs. split_left_inclusive( |x| * x == 5 ) . rev( ) . collect:: <Vec <_>>( ) , splits) ;
968
968
}
969
969
@@ -983,7 +983,7 @@ fn test_splitator_left_inclusive_mut() {
983
983
assert_eq ! ( xs. split_left_inclusive_mut( |_| true ) . collect:: <Vec <_>>( ) , splits) ;
984
984
985
985
let xs: & mut [ i32 ] = & mut [ ] ;
986
- let splits: & [ & [ i32 ] ] = & [ & [ ] ] ;
986
+ let splits: & [ & [ i32 ] ] = & [ ] ;
987
987
assert_eq ! ( xs. split_left_inclusive_mut( |x| * x == 5 ) . collect:: <Vec <_>>( ) , splits) ;
988
988
}
989
989
@@ -1003,7 +1003,7 @@ fn test_splitator_left_inclusive_reverse_mut() {
1003
1003
assert_eq ! ( xs. split_left_inclusive_mut( |_| true ) . rev( ) . collect:: <Vec <_>>( ) , splits) ;
1004
1004
1005
1005
let xs: & mut [ i32 ] = & mut [ ] ;
1006
- let splits: & [ & [ i32 ] ] = & [ & [ ] ] ;
1006
+ let splits: & [ & [ i32 ] ] = & [ ] ;
1007
1007
assert_eq ! ( xs. split_left_inclusive_mut( |x| * x == 5 ) . rev( ) . collect:: <Vec <_>>( ) , splits) ;
1008
1008
}
1009
1009
0 commit comments