diff --git a/src/pkg/strconv/quote.go b/src/pkg/strconv/quote.go index 8cbef88b51..7d6cdcf0b5 100644 --- a/src/pkg/strconv/quote.go +++ b/src/pkg/strconv/quote.go @@ -133,7 +133,7 @@ func QuoteRuneToASCII(r rune) string { return quoteWith(string(r), '\'', true) } -// AppendQuoteRune appends a single-quoted Go character literal representing the rune, +// AppendQuoteRuneToASCII appends a single-quoted Go character literal representing the rune, // as generated by QuoteRuneToASCII, to dst and returns the extended buffer. func AppendQuoteRuneToASCII(dst []byte, r rune) []byte { return append(dst, QuoteRuneToASCII(r)...)