aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-07-24 16:53:02 -0700
committerIan Lance Taylor <iant@golang.org>2021-07-25 17:16:20 +0000
commit849b7911293c3cb11d76ff2778ed560100f987d1 (patch)
tree10dd8df0ff8ae83b9ea17f290c21c5d0e6c70ea4 /doc
parent0914646ab91a3157666d845d74d8d9a4a2831e1e (diff)
downloadgo-849b7911293c3cb11d76ff2778ed560100f987d1.tar.gz
go-849b7911293c3cb11d76ff2778ed560100f987d1.zip
spec: use consistent capitalization for rune literal hex constants
Fixes #47368 Change-Id: I2f65c0008658532123f04d08e99e5d083f33461a Reviewed-on: https://go-review.googlesource.com/c/go/+/337234 Trust: Ian Lance Taylor <iant@golang.org> Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go_spec.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index df256f0f0e..cc7ed6a561 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,6 +1,6 @@
<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of Jul 1, 2021",
+ "Subtitle": "Version of Jul 24, 2021",
"Path": "/ref/spec"
}-->
@@ -490,8 +490,8 @@ After a backslash, certain single-character escapes represent special values:
\n U+000A line feed or newline
\r U+000D carriage return
\t U+0009 horizontal tab
-\v U+000b vertical tab
-\\ U+005c backslash
+\v U+000B vertical tab
+\\ U+005C backslash
\' U+0027 single quote (valid escape only within rune literals)
\" U+0022 double quote (valid escape only within string literals)
</pre>