@@ -943,7 +943,7 @@ fn test_splitator_left_inclusive() {
943943 assert_eq ! ( xs. split_left_inclusive( |_| true ) . collect:: <Vec <& [ i32 ] >>( ) , splits) ;
944944
945945 let xs: & [ i32 ] = & [ ] ;
946- let splits: & [ & [ i32 ] ] = & [ & [ ] ] ;
946+ let splits: & [ & [ i32 ] ] = & [ ] ;
947947 assert_eq ! ( xs. split_left_inclusive( |x| * x == 5 ) . collect:: <Vec <& [ i32 ] >>( ) , splits) ;
948948}
949949
@@ -963,7 +963,7 @@ fn test_splitator_left_inclusive_reverse() {
963963 assert_eq ! ( xs. split_left_inclusive( |_| true ) . rev( ) . collect:: <Vec <_>>( ) , splits) ;
964964
965965 let xs: & [ i32 ] = & [ ] ;
966- let splits: & [ & [ i32 ] ] = & [ & [ ] ] ;
966+ let splits: & [ & [ i32 ] ] = & [ ] ;
967967 assert_eq ! ( xs. split_left_inclusive( |x| * x == 5 ) . rev( ) . collect:: <Vec <_>>( ) , splits) ;
968968}
969969
@@ -983,7 +983,7 @@ fn test_splitator_left_inclusive_mut() {
983983 assert_eq ! ( xs. split_left_inclusive_mut( |_| true ) . collect:: <Vec <_>>( ) , splits) ;
984984
985985 let xs: & mut [ i32 ] = & mut [ ] ;
986- let splits: & [ & [ i32 ] ] = & [ & [ ] ] ;
986+ let splits: & [ & [ i32 ] ] = & [ ] ;
987987 assert_eq ! ( xs. split_left_inclusive_mut( |x| * x == 5 ) . collect:: <Vec <_>>( ) , splits) ;
988988}
989989
@@ -1003,7 +1003,7 @@ fn test_splitator_left_inclusive_reverse_mut() {
10031003 assert_eq ! ( xs. split_left_inclusive_mut( |_| true ) . rev( ) . collect:: <Vec <_>>( ) , splits) ;
10041004
10051005 let xs: & mut [ i32 ] = & mut [ ] ;
1006- let splits: & [ & [ i32 ] ] = & [ & [ ] ] ;
1006+ let splits: & [ & [ i32 ] ] = & [ ] ;
10071007 assert_eq ! ( xs. split_left_inclusive_mut( |x| * x == 5 ) . rev( ) . collect:: <Vec <_>>( ) , splits) ;
10081008}
10091009
0 commit comments