diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-04-15 18:16:49 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-04-15 18:16:49 -0600 |
commit | c56295caef1cd1b91e747d445e7d046c7a5c8720 (patch) | |
tree | 99a20a8a8757f5c62e3b0aabe0ca308dbcf90017 | |
parent | 8710dacb10658747b620150c0fd66c709db55191 (diff) |
-rw-r--r-- | cmd/btrfs-rec/inspect/rebuildmappings/kmp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-rec/inspect/rebuildmappings/kmp.go b/cmd/btrfs-rec/inspect/rebuildmappings/kmp.go index 2f5ec63..29dd26e 100644 --- a/cmd/btrfs-rec/inspect/rebuildmappings/kmp.go +++ b/cmd/btrfs-rec/inspect/rebuildmappings/kmp.go @@ -72,7 +72,7 @@ func kmpEq[K ~int64 | ~int, V comparable](aV V, bS kmpPattern[K, V], bI K) bool // Will panic if the length of 'substr' is 0. // // The 'substr' may include wildcard characters by returning -// ErrWildcard for a position. +// (_, false) for a position. // // Uses the Knuth-Morris-Pratt algorithm. func indexAll[K ~int64 | ~int, V comparable](str diskio.Sequence[K, V], substr kmpPattern[K, V]) []K { |