aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-03-31 12:30:14 -0700
committerIan Lance Taylor <iant@golang.org>2022-03-31 20:37:15 +0000
commit31ee4bb28dff98f29654e7f1b43488641b3157db (patch)
tree1a4945faaa521e938209d9b6ba86315718b9bbf6 /api
parent825309962fd6d8e34f7f38f51c4994395826d139 (diff)
downloadgo-31ee4bb28dff98f29654e7f1b43488641b3157db.tar.gz
go-31ee4bb28dff98f29654e7f1b43488641b3157db.zip
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>
Diffstat (limited to 'api')
-rw-r--r--api/go1.1.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/go1.1.txt b/api/go1.1.txt
index bb00b3b02c..06291faa4b 100644
--- a/api/go1.1.txt
+++ b/api/go1.1.txt
@@ -371,7 +371,7 @@ pkg debug/elf, const ELFCLASSNONE = 0
pkg debug/elf, const ELFDATA2LSB = 1
pkg debug/elf, const ELFDATA2MSB = 2
pkg debug/elf, const ELFDATANONE = 0
-pkg debug/elf, const ELFMAG = "\u007fELF"
+pkg debug/elf, const ELFMAG = "\x7fELF"
pkg debug/elf, const ELFOSABI_86OPEN = 5
pkg debug/elf, const ELFOSABI_AIX = 7
pkg debug/elf, const ELFOSABI_ARM = 97