We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e53faf4 commit df1cc1eCopy full SHA for df1cc1e
Boyer-Moore/BoyerMoore.playground/Contents.swift
@@ -30,7 +30,7 @@ extension String {
30
let c = self[i]
31
if c == lastChar {
32
if let k = backwards() { return k }
33
- i = index(after: i)
+ i = index(after: i)
34
} else {
35
i = index(i, offsetBy: skipTable[c] ?? patternLength)
36
}
0 commit comments