summaryrefslogtreecommitdiff
path: root/lib/diskio
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 21:05:11 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 22:42:08 -0700
commit41432b868e09e199fa1ee7e9aa7bb45bdccb8dde (patch)
tree4c3eb8572871071261b0b35a9a20b11539b5c84a /lib/diskio
parentf3f0635cc03cac238be21402b6d53baa03f2e1bc (diff)
lint: Turn on misspell
Diffstat (limited to 'lib/diskio')
-rw-r--r--lib/diskio/kmp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diskio/kmp.go b/lib/diskio/kmp.go
index 8de3a18..6949aa4 100644
--- a/lib/diskio/kmp.go
+++ b/lib/diskio/kmp.go
@@ -88,7 +88,7 @@ func buildKMPTable[K ~int64, V comparable](substr Sequence[K, V]) ([]K, error) {
}
// IndexAll returns the starting-position of all possibly-overlapping
-// occurances of 'substr' in the 'str' sequence.
+// occurrences of 'substr' in the 'str' sequence.
//
// Will hop around in 'substr', but will only get the natural sequence
// [0...) in order from 'str'. When hopping around in 'substr' it