]> Cypherpunks repositories - gostls13.git/commitdiff
strconv: adjust comment so that gofmt doesn't mung it
authorIan Lance Taylor <iant@golang.org>
Mon, 13 Jan 2025 18:28:19 +0000 (10:28 -0800)
committerGopher Robot <gobot@golang.org>
Mon, 27 Jan 2025 21:16:45 +0000 (13:16 -0800)
Change-Id: I7fe5c6a0521d3c597eae0f3568942df1db9370b1
Reviewed-on: https://go-review.googlesource.com/c/go/+/642497
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/strconv/quote.go

index 1f4929a952c6bf786eb551ef729f4011817f1848..99c292a8ed58848441a400031260fa44960caa28 100644 (file)
@@ -378,7 +378,8 @@ func QuotedPrefix(s string) (string, error) {
 // or backquoted Go string literal, returning the string value
 // that s quotes.  (If s is single-quoted, it would be a Go
 // character literal; Unquote returns the corresponding
-// one-character string. For '' Unquote returns the empty string.)
+// one-character string. For an empty character literal
+// Unquote returns the empty string.)
 func Unquote(s string) (string, error) {
        out, rem, err := unquote(s, true)
        if len(rem) > 0 {