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
This commit is contained in:
Elliott Sales de Andrade 2025-01-19 10:32:50 -05:00 committed by GitHub
parent b028cbd8bd
commit 6580f32b43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -401,7 +401,7 @@ func debugV2(T []rune, pattern []rune, F []int32, lastIdx int, H []int16, C []in
if i == 0 { if i == 0 {
fmt.Print(" ") fmt.Print(" ")
for j := int(f); j <= lastIdx; j++ { for j := int(f); j <= lastIdx; j++ {
fmt.Printf(" " + string(T[j]) + " ") fmt.Print(" " + string(T[j]) + " ")
} }
fmt.Println() fmt.Println()
} }