go/src/strconv
Sabin Mihai Rapan 74879f0f01 strconv: update Unquote example to be more concise
Changed the example to convey the intent of the Unquote function
in a more succint way.

Fixes #23693

Change-Id: I49465641d730e70b5af0d47057335af39882bcec
Reviewed-on: https://go-review.googlesource.com/92015
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-05-07 20:39:37 +00:00
..
testdata
atob.go all: remove public named return values when useless 2016-02-29 03:31:19 +00:00
atob_test.go
atof.go strconv: fix ParseFloat for special forms of zero values 2016-04-19 22:39:43 +00:00
atof_test.go strconv: apply Brad's review comment 2017-07-17 16:32:05 +00:00
atoi.go strconv: optimize Atoi for common case 2017-08-25 10:17:39 +00:00
atoi_test.go strconv: optimize Atoi for common case 2017-08-25 10:17:39 +00:00
decimal.go strconv: adds missing comment to neg flag, formats comment on trunc flag 2017-07-15 19:41:25 +00:00
decimal_test.go
doc.go strconv: make code formatting more consistent in doc.go 2018-03-19 12:53:16 +00:00
example_test.go strconv: update Unquote example to be more concise 2018-05-07 20:39:37 +00:00
export_test.go strconv: check bitsize range in ParseInt and ParseUint 2017-08-22 13:37:40 +00:00
extfloat.go all: fix article typos 2017-09-15 02:39:16 +00:00
fp_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
ftoa.go all: single space after period. 2016-03-02 00:13:47 +00:00
ftoa_test.go strconv: make FormatFloat slowpath a little faster 2016-10-17 18:23:32 +00:00
internal_test.go
isprint.go all: fix non-standard "DO NOT EDIT" comments for generated files 2018-03-10 17:50:11 +00:00
itoa.go strconv: simplify and optimize Itoa(small) 2018-05-03 18:07:02 +00:00
itoa_test.go strconv: simplify and optimize Itoa(small) 2018-05-03 18:07:02 +00:00
makeisprint.go all: fix non-standard "DO NOT EDIT" comments for generated files 2018-03-10 17:50:11 +00:00
quote.go strconv: detect invalid UTF-8 in the Unquote fast path 2018-02-13 18:33:44 +00:00
quote_test.go strconv: detect invalid UTF-8 in the Unquote fast path 2018-02-13 18:33:44 +00:00
strconv_test.go strconv: fix function name in errors for Atoi 2016-09-04 00:17:58 +00:00