mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
strconv: adjust comment so that gofmt doesn't mung it
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>
This commit is contained in:
parent
b9872221cd
commit
11e08d9d96
1 changed files with 2 additions and 1 deletions
|
|
@ -378,7 +378,8 @@ func QuotedPrefix(s string) (string, error) {
|
||||||
// or backquoted Go string literal, returning the string value
|
// or backquoted Go string literal, returning the string value
|
||||||
// that s quotes. (If s is single-quoted, it would be a Go
|
// that s quotes. (If s is single-quoted, it would be a Go
|
||||||
// character literal; Unquote returns the corresponding
|
// 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) {
|
func Unquote(s string) (string, error) {
|
||||||
out, rem, err := unquote(s, true)
|
out, rem, err := unquote(s, true)
|
||||||
if len(rem) > 0 {
|
if len(rem) > 0 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue