diff options
| author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2025-01-19 10:32:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-20 00:32:50 +0900 |
| commit | 6580f32b437df41aa7890446ac4a01d37cd5c85e (patch) | |
| tree | 3908b99a20bab733b7d29a3add1156af5197a2ab /src | |
| parent | b028cbd8bd267b817679c06330795c9edea91d54 (diff) | |
| download | fzf-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.go | 2 |
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() } |
