From: ChaiShushan Date: Sat, 10 Aug 2013 01:38:42 +0000 (+1000) Subject: strconv: fix typo in docs X-Git-Tag: go1.2rc2~671 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=418e2f6aaeb686c67d7ffc993f7137ed61426c29;p=gostls13.git strconv: fix typo in docs R=golang-dev, r CC=golang-dev https://golang.org/cl/12709044 --- 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)...)