@@ -705,7 +705,7 @@ fn test_move_rev_iterator() {
705705}
706706
707707#[ test]
708- fn test_splitator ( ) {
708+ fn test_split_iterator ( ) {
709709 let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
710710
711711 let splits: & [ & [ _ ] ] = & [ & [ 1 ] , & [ 3 ] , & [ 5 ] ] ;
@@ -725,7 +725,7 @@ fn test_splitator() {
725725}
726726
727727#[ test]
728- fn test_splitator_inclusive ( ) {
728+ fn test_split_iterator_inclusive ( ) {
729729 let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
730730
731731 let splits: & [ & [ _ ] ] = & [ & [ 1 , 2 ] , & [ 3 , 4 ] , & [ 5 ] ] ;
@@ -745,7 +745,7 @@ fn test_splitator_inclusive() {
745745}
746746
747747#[ test]
748- fn test_splitator_inclusive_reverse ( ) {
748+ fn test_split_iterator_inclusive_reverse ( ) {
749749 let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
750750
751751 let splits: & [ & [ _ ] ] = & [ & [ 5 ] , & [ 3 , 4 ] , & [ 1 , 2 ] ] ;
@@ -765,7 +765,7 @@ fn test_splitator_inclusive_reverse() {
765765}
766766
767767#[ test]
768- fn test_splitator_mut_inclusive ( ) {
768+ fn test_split_iterator_mut_inclusive ( ) {
769769 let xs = & mut [ 1 , 2 , 3 , 4 , 5 ] ;
770770
771771 let splits: & [ & [ _ ] ] = & [ & [ 1 , 2 ] , & [ 3 , 4 ] , & [ 5 ] ] ;
@@ -785,7 +785,7 @@ fn test_splitator_mut_inclusive() {
785785}
786786
787787#[ test]
788- fn test_splitator_mut_inclusive_reverse ( ) {
788+ fn test_split_iterator_mut_inclusive_reverse ( ) {
789789 let xs = & mut [ 1 , 2 , 3 , 4 , 5 ] ;
790790
791791 let splits: & [ & [ _ ] ] = & [ & [ 5 ] , & [ 3 , 4 ] , & [ 1 , 2 ] ] ;
@@ -805,7 +805,7 @@ fn test_splitator_mut_inclusive_reverse() {
805805}
806806
807807#[ test]
808- fn test_splitnator ( ) {
808+ fn test_splitn_iterator ( ) {
809809 let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
810810
811811 let splits: & [ & [ _ ] ] = & [ & [ 1 , 2 , 3 , 4 , 5 ] ] ;
@@ -821,7 +821,7 @@ fn test_splitnator() {
821821}
822822
823823#[ test]
824- fn test_splitnator_mut ( ) {
824+ fn test_splitn_iterator_mut ( ) {
825825 let xs = & mut [ 1 , 2 , 3 , 4 , 5 ] ;
826826
827827 let splits: & [ & mut [ _ ] ] = & [ & mut [ 1 , 2 , 3 , 4 , 5 ] ] ;
@@ -837,7 +837,7 @@ fn test_splitnator_mut() {
837837}
838838
839839#[ test]
840- fn test_rsplitator ( ) {
840+ fn test_rsplit_iterator ( ) {
841841 let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
842842
843843 let splits: & [ & [ _ ] ] = & [ & [ 5 ] , & [ 3 ] , & [ 1 ] ] ;
@@ -855,7 +855,7 @@ fn test_rsplitator() {
855855}
856856
857857#[ test]
858- fn test_rsplitnator ( ) {
858+ fn test_rsplitn_iterator ( ) {
859859 let xs = & [ 1 , 2 , 3 , 4 , 5 ] ;
860860
861861 let splits: & [ & [ _ ] ] = & [ & [ 1 , 2 , 3 , 4 , 5 ] ] ;
@@ -932,7 +932,7 @@ fn test_split_iterators_size_hint() {
932932}
933933
934934#[ test]
935- fn test_windowsator ( ) {
935+ fn test_windows_iterator ( ) {
936936 let v = & [ 1 , 2 , 3 , 4 ] ;
937937
938938 let wins: & [ & [ _ ] ] = & [ & [ 1 , 2 ] , & [ 2 , 3 ] , & [ 3 , 4 ] ] ;
@@ -948,13 +948,13 @@ fn test_windowsator() {
948948
949949#[ test]
950950#[ should_panic]
951- fn test_windowsator_0 ( ) {
951+ fn test_windows_iterator_0 ( ) {
952952 let v = & [ 1 , 2 , 3 , 4 ] ;
953953 let _it = v. windows ( 0 ) ;
954954}
955955
956956#[ test]
957- fn test_chunksator ( ) {
957+ fn test_chunks_iterator ( ) {
958958 let v = & [ 1 , 2 , 3 , 4 , 5 ] ;
959959
960960 assert_eq ! ( v. chunks( 2 ) . len( ) , 3 ) ;
@@ -972,13 +972,13 @@ fn test_chunksator() {
972972
973973#[ test]
974974#[ should_panic]
975- fn test_chunksator_0 ( ) {
975+ fn test_chunks_iterator_0 ( ) {
976976 let v = & [ 1 , 2 , 3 , 4 ] ;
977977 let _it = v. chunks ( 0 ) ;
978978}
979979
980980#[ test]
981- fn test_chunks_exactator ( ) {
981+ fn test_chunks_exact_iterator ( ) {
982982 let v = & [ 1 , 2 , 3 , 4 , 5 ] ;
983983
984984 assert_eq ! ( v. chunks_exact( 2 ) . len( ) , 2 ) ;
@@ -996,13 +996,13 @@ fn test_chunks_exactator() {
996996
997997#[ test]
998998#[ should_panic]
999- fn test_chunks_exactator_0 ( ) {
999+ fn test_chunks_exact_iterator_0 ( ) {
10001000 let v = & [ 1 , 2 , 3 , 4 ] ;
10011001 let _it = v. chunks_exact ( 0 ) ;
10021002}
10031003
10041004#[ test]
1005- fn test_rchunksator ( ) {
1005+ fn test_rchunks_iterator ( ) {
10061006 let v = & [ 1 , 2 , 3 , 4 , 5 ] ;
10071007
10081008 assert_eq ! ( v. rchunks( 2 ) . len( ) , 3 ) ;
@@ -1020,13 +1020,13 @@ fn test_rchunksator() {
10201020
10211021#[ test]
10221022#[ should_panic]
1023- fn test_rchunksator_0 ( ) {
1023+ fn test_rchunks_iterator_0 ( ) {
10241024 let v = & [ 1 , 2 , 3 , 4 ] ;
10251025 let _it = v. rchunks ( 0 ) ;
10261026}
10271027
10281028#[ test]
1029- fn test_rchunks_exactator ( ) {
1029+ fn test_rchunks_exact_iterator ( ) {
10301030 let v = & [ 1 , 2 , 3 , 4 , 5 ] ;
10311031
10321032 assert_eq ! ( v. rchunks_exact( 2 ) . len( ) , 2 ) ;
@@ -1044,7 +1044,7 @@ fn test_rchunks_exactator() {
10441044
10451045#[ test]
10461046#[ should_panic]
1047- fn test_rchunks_exactator_0 ( ) {
1047+ fn test_rchunks_exact_iterator_0 ( ) {
10481048 let v = & [ 1 , 2 , 3 , 4 ] ;
10491049 let _it = v. rchunks_exact ( 0 ) ;
10501050}
@@ -1219,7 +1219,7 @@ fn test_ends_with() {
12191219}
12201220
12211221#[ test]
1222- fn test_mut_splitator ( ) {
1222+ fn test_mut_split_iterator ( ) {
12231223 let mut xs = [ 0 , 1 , 0 , 2 , 3 , 0 , 0 , 4 , 5 , 0 ] ;
12241224 assert_eq ! ( xs. split_mut( |x| * x == 0 ) . count( ) , 6 ) ;
12251225 for slice in xs. split_mut ( |x| * x == 0 ) {
@@ -1235,7 +1235,7 @@ fn test_mut_splitator() {
12351235}
12361236
12371237#[ test]
1238- fn test_mut_splitator_rev ( ) {
1238+ fn test_mut_split_iterator_rev ( ) {
12391239 let mut xs = [ 1 , 2 , 0 , 3 , 4 , 0 , 0 , 5 , 6 , 0 ] ;
12401240 for slice in xs. split_mut ( |x| * x == 0 ) . rev ( ) . take ( 4 ) {
12411241 slice. reverse ( ) ;
0 commit comments