]> Cypherpunks repositories - gostls13.git/commitdiff
strconv: add missing package name into doc.go(godoc overview)
authorHidetatsu Yaginuma <ygnmhdtt@gmail.com>
Sun, 30 Dec 2018 07:03:53 +0000 (16:03 +0900)
committerRobert Griesemer <gri@golang.org>
Sun, 30 Dec 2018 18:30:11 +0000 (18:30 +0000)
Change-Id: I336ad707a85bf0c81b6c2230c90452c0b3b92924
Reviewed-on: https://go-review.googlesource.com/c/155998
Reviewed-by: Robert Griesemer <gri@golang.org>
src/strconv/doc.go

index cba898426afe760c5bc09e2496a0463b3ffa0131..8db725f96ae5c0914c69484dd817d00883cda0cf 100644 (file)
@@ -46,8 +46,8 @@
 // The latter guarantees that the result is an ASCII string, by escaping
 // any non-ASCII Unicode with \u:
 //
-//     q := Quote("Hello, 世界")
-//     q := QuoteToASCII("Hello, 世界")
+//     q := strconv.Quote("Hello, 世界")
+//     q := strconv.QuoteToASCII("Hello, 世界")
 //
 // QuoteRune and QuoteRuneToASCII are similar but accept runes and
 // return quoted Go rune literals.