Skip to content

Commit 323b602

Browse files
committed
Fix comment indentation to match upstream rustfmt config
1 parent 3ae3b61 commit 323b602

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/str/pattern.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)