diff --git a/src/log/slog/json_handler.go b/src/log/slog/json_handler.go index c3b4882f41..da3eae1a8e 100644 --- a/src/log/slog/json_handler.go +++ b/src/log/slog/json_handler.go @@ -226,7 +226,7 @@ func appendEscapedJSONString(buf []byte, s string) []byte { return buf } -var hex = "0123456789abcdef" +const hex = "0123456789abcdef" // Copied from encoding/json/tables.go. //