1
0
mirror of https://github.com/golang/go synced 2024-11-12 03:10:22 -07:00

strconv: fix typo in docs

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12709044
This commit is contained in:
ChaiShushan 2013-08-10 11:38:42 +10:00 committed by Rob Pike
parent db84a450d7
commit 418e2f6aae

View 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)...)