]> Cypherpunks repositories - gostls13.git/commitdiff
strconv: fix typo in docs
authorChaiShushan <chaishushan@gmail.com>
Sat, 10 Aug 2013 01:38:42 +0000 (11:38 +1000)
committerRob Pike <r@golang.org>
Sat, 10 Aug 2013 01:38:42 +0000 (11:38 +1000)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12709044

src/pkg/strconv/quote.go

index 8cbef88b5170652d9e982f29106087b0f10b1452..7d6cdcf0b54985ce3133556be18500bab4db8da3 100644 (file)
@@ -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)...)