diff options
-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 { |