]> Cypherpunks.ru repositories - gostls13.git/commit
strconv: quote rune 007F as \x7f, not \u007f
authorIan Lance Taylor <iant@golang.org>
Thu, 31 Mar 2022 19:30:14 +0000 (12:30 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 31 Mar 2022 20:37:15 +0000 (20:37 +0000)
commit31ee4bb28dff98f29654e7f1b43488641b3157db
tree1a4945faaa521e938209d9b6ba86315718b9bbf6
parent825309962fd6d8e34f7f38f51c4994395826d139
strconv: quote rune 007F as \x7f, not \u007f

\u007f is not wrong but it's weird to use \u when we could use the
shorter \x.

Fixes #52062

Change-Id: Ica4bdc2463128051876f44e15297ed1e9edf1de8
Reviewed-on: https://go-review.googlesource.com/c/go/+/397255
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
api/go1.1.txt
doc/go1.19.html
src/strconv/quote.go
src/strconv/quote_test.go