@@ -705,7 +705,7 @@ fn test_move_rev_iterator() {
705
705
}
706
706
707
707
#[ test]
708
- fn test_splitator ( ) {
708
+ fn test_split_iterator ( ) {
709
709
let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
710
710
711
711
let splits: & [ & [ _ ] ] = & [ & [ 1 ] , & [ 3 ] , & [ 5 ] ] ;
@@ -725,7 +725,7 @@ fn test_splitator() {
725
725
}
726
726
727
727
#[ test]
728
- fn test_splitator_inclusive ( ) {
728
+ fn test_split_iterator_inclusive ( ) {
729
729
let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
730
730
731
731
let splits: & [ & [ _ ] ] = & [ & [ 1 , 2 ] , & [ 3 , 4 ] , & [ 5 ] ] ;
@@ -745,7 +745,7 @@ fn test_splitator_inclusive() {
745
745
}
746
746
747
747
#[ test]
748
- fn test_splitator_inclusive_reverse ( ) {
748
+ fn test_split_iterator_inclusive_reverse ( ) {
749
749
let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
750
750
751
751
let splits: & [ & [ _ ] ] = & [ & [ 5 ] , & [ 3 , 4 ] , & [ 1 , 2 ] ] ;
@@ -765,7 +765,7 @@ fn test_splitator_inclusive_reverse() {
765
765
}
766
766
767
767
#[ test]
768
- fn test_splitator_mut_inclusive ( ) {
768
+ fn test_split_iterator_mut_inclusive ( ) {
769
769
let xs = & mut [ 1 , 2 , 3 , 4 , 5 ] ;
770
770
771
771
let splits: & [ & [ _ ] ] = & [ & [ 1 , 2 ] , & [ 3 , 4 ] , & [ 5 ] ] ;
@@ -785,7 +785,7 @@ fn test_splitator_mut_inclusive() {
785
785
}
786
786
787
787
#[ test]
788
- fn test_splitator_mut_inclusive_reverse ( ) {
788
+ fn test_split_iterator_mut_inclusive_reverse ( ) {
789
789
let xs = & mut [ 1 , 2 , 3 , 4 , 5 ] ;
790
790
791
791
let splits: & [ & [ _ ] ] = & [ & [ 5 ] , & [ 3 , 4 ] , & [ 1 , 2 ] ] ;
@@ -805,7 +805,7 @@ fn test_splitator_mut_inclusive_reverse() {
805
805
}
806
806
807
807
#[ test]
808
- fn test_splitnator ( ) {
808
+ fn test_splitn_iterator ( ) {
809
809
let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
810
810
811
811
let splits: & [ & [ _ ] ] = & [ & [ 1 , 2 , 3 , 4 , 5 ] ] ;
@@ -821,7 +821,7 @@ fn test_splitnator() {
821
821
}
822
822
823
823
#[ test]
824
- fn test_splitnator_mut ( ) {
824
+ fn test_splitn_iterator_mut ( ) {
825
825
let xs = & mut [ 1 , 2 , 3 , 4 , 5 ] ;
826
826
827
827
let splits: & [ & mut [ _ ] ] = & [ & mut [ 1 , 2 , 3 , 4 , 5 ] ] ;
@@ -837,7 +837,7 @@ fn test_splitnator_mut() {
837
837
}
838
838
839
839
#[ test]
840
- fn test_rsplitator ( ) {
840
+ fn test_rsplit_iterator ( ) {
841
841
let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
842
842
843
843
let splits: & [ & [ _ ] ] = & [ & [ 5 ] , & [ 3 ] , & [ 1 ] ] ;
@@ -855,7 +855,7 @@ fn test_rsplitator() {
855
855
}
856
856
857
857
#[ test]
858
- fn test_rsplitnator ( ) {
858
+ fn test_rsplitn_iterator ( ) {
859
859
let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
860
860
861
861
let splits: & [ & [ _ ] ] = & [ & [ 1 , 2 , 3 , 4 , 5 ] ] ;
@@ -932,7 +932,7 @@ fn test_split_iterators_size_hint() {
932
932
}
933
933
934
934
#[ test]
935
- fn test_windowsator ( ) {
935
+ fn test_windows_iterator ( ) {
936
936
let v = & [ 1 , 2 , 3 , 4 ] ;
937
937
938
938
let wins: & [ & [ _ ] ] = & [ & [ 1 , 2 ] , & [ 2 , 3 ] , & [ 3 , 4 ] ] ;
@@ -948,13 +948,13 @@ fn test_windowsator() {
948
948
949
949
#[ test]
950
950
#[ should_panic]
951
- fn test_windowsator_0 ( ) {
951
+ fn test_windows_iterator_0 ( ) {
952
952
let v = & [ 1 , 2 , 3 , 4 ] ;
953
953
let _it = v. windows ( 0 ) ;
954
954
}
955
955
956
956
#[ test]
957
- fn test_chunksator ( ) {
957
+ fn test_chunks_iterator ( ) {
958
958
let v = & [ 1 , 2 , 3 , 4 , 5 ] ;
959
959
960
960
assert_eq ! ( v. chunks( 2 ) . len( ) , 3 ) ;
@@ -972,13 +972,13 @@ fn test_chunksator() {
972
972
973
973
#[ test]
974
974
#[ should_panic]
975
- fn test_chunksator_0 ( ) {
975
+ fn test_chunks_iterator_0 ( ) {
976
976
let v = & [ 1 , 2 , 3 , 4 ] ;
977
977
let _it = v. chunks ( 0 ) ;
978
978
}
979
979
980
980
#[ test]
981
- fn test_chunks_exactator ( ) {
981
+ fn test_chunks_exact_iterator ( ) {
982
982
let v = & [ 1 , 2 , 3 , 4 , 5 ] ;
983
983
984
984
assert_eq ! ( v. chunks_exact( 2 ) . len( ) , 2 ) ;
@@ -996,13 +996,13 @@ fn test_chunks_exactator() {
996
996
997
997
#[ test]
998
998
#[ should_panic]
999
- fn test_chunks_exactator_0 ( ) {
999
+ fn test_chunks_exact_iterator_0 ( ) {
1000
1000
let v = & [ 1 , 2 , 3 , 4 ] ;
1001
1001
let _it = v. chunks_exact ( 0 ) ;
1002
1002
}
1003
1003
1004
1004
#[ test]
1005
- fn test_rchunksator ( ) {
1005
+ fn test_rchunks_iterator ( ) {
1006
1006
let v = & [ 1 , 2 , 3 , 4 , 5 ] ;
1007
1007
1008
1008
assert_eq ! ( v. rchunks( 2 ) . len( ) , 3 ) ;
@@ -1020,13 +1020,13 @@ fn test_rchunksator() {
1020
1020
1021
1021
#[ test]
1022
1022
#[ should_panic]
1023
- fn test_rchunksator_0 ( ) {
1023
+ fn test_rchunks_iterator_0 ( ) {
1024
1024
let v = & [ 1 , 2 , 3 , 4 ] ;
1025
1025
let _it = v. rchunks ( 0 ) ;
1026
1026
}
1027
1027
1028
1028
#[ test]
1029
- fn test_rchunks_exactator ( ) {
1029
+ fn test_rchunks_exact_iterator ( ) {
1030
1030
let v = & [ 1 , 2 , 3 , 4 , 5 ] ;
1031
1031
1032
1032
assert_eq ! ( v. rchunks_exact( 2 ) . len( ) , 2 ) ;
@@ -1044,7 +1044,7 @@ fn test_rchunks_exactator() {
1044
1044
1045
1045
#[ test]
1046
1046
#[ should_panic]
1047
- fn test_rchunks_exactator_0 ( ) {
1047
+ fn test_rchunks_exact_iterator_0 ( ) {
1048
1048
let v = & [ 1 , 2 , 3 , 4 ] ;
1049
1049
let _it = v. rchunks_exact ( 0 ) ;
1050
1050
}
@@ -1219,7 +1219,7 @@ fn test_ends_with() {
1219
1219
}
1220
1220
1221
1221
#[ test]
1222
- fn test_mut_splitator ( ) {
1222
+ fn test_mut_split_iterator ( ) {
1223
1223
let mut xs = [ 0 , 1 , 0 , 2 , 3 , 0 , 0 , 4 , 5 , 0 ] ;
1224
1224
assert_eq ! ( xs. split_mut( |x| * x == 0 ) . count( ) , 6 ) ;
1225
1225
for slice in xs. split_mut ( |x| * x == 0 ) {
@@ -1235,7 +1235,7 @@ fn test_mut_splitator() {
1235
1235
}
1236
1236
1237
1237
#[ test]
1238
- fn test_mut_splitator_rev ( ) {
1238
+ fn test_mut_split_iterator_rev ( ) {
1239
1239
let mut xs = [ 1 , 2 , 0 , 3 , 4 , 0 , 0 , 5 , 6 , 0 ] ;
1240
1240
for slice in xs. split_mut ( |x| * x == 0 ) . rev ( ) . take ( 4 ) {
1241
1241
slice. reverse ( ) ;
0 commit comments