summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2025-01-19 10:32:50 -0500
committerGitHub <noreply@github.com>2025-01-20 00:32:50 +0900
commit6580f32b437df41aa7890446ac4a01d37cd5c85e (patch)
tree3908b99a20bab733b7d29a3add1156af5197a2ab /src
parentb028cbd8bd267b817679c06330795c9edea91d54 (diff)
downloadfzf-6580f32b437df41aa7890446ac4a01d37cd5c85e.tar.gz
Fix a non-constant format string (#4189)
Go 1.24 now has a vet check about this that causes `go test` to fail: https://github.com/golang/go/issues/60529
Diffstat (limited to 'src')
-rw-r--r--src/algo/algo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algo/algo.go b/src/algo/algo.go
index f0569185..c0022475 100644
--- a/src/algo/algo.go
+++ b/src/algo/algo.go
@@ -401,7 +401,7 @@ func debugV2(T []rune, pattern []rune, F []int32, lastIdx int, H []int16, C []in
if i == 0 {
fmt.Print(" ")
for j := int(f); j <= lastIdx; j++ {
- fmt.Printf(" " + string(T[j]) + " ")
+ fmt.Print(" " + string(T[j]) + " ")
}
fmt.Println()
}