File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2175,7 +2175,7 @@ impl TwoWaySearcher {
21752175 let mut left = 0 ; // Corresponds to i in the paper
21762176 let mut right = 1 ; // Corresponds to j in the paper
21772177 let mut offset = 0 ; // Corresponds to k in the paper, but starting at 0
2178- // to match 0-based indexing.
2178+ // to match 0-based indexing.
21792179 let mut period = 1 ; // Corresponds to p in the paper
21802180
21812181 while let Some ( & a) = arr. get ( right + offset) {
@@ -2221,7 +2221,7 @@ impl TwoWaySearcher {
22212221 let mut left = 0 ; // Corresponds to i in the paper
22222222 let mut right = 1 ; // Corresponds to j in the paper
22232223 let mut offset = 0 ; // Corresponds to k in the paper, but starting at 0
2224- // to match 0-based indexing.
2224+ // to match 0-based indexing.
22252225 let mut period = 1 ; // Corresponds to p in the paper
22262226 let n = arr. len ( ) ;
22272227
You can’t perform that action at this time.
0 commit comments