mirror of
https://github.com/golang/go
synced 2024-11-13 17:00: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:
parent
db84a450d7
commit
418e2f6aae
@ -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)...)
|
||||
|
Loading…
Reference in New Issue
Block a user