]> Cypherpunks repositories - gostls13.git/commitdiff
spec: use consistent capitalization for rune literal hex constants
authorIan Lance Taylor <iant@golang.org>
Sat, 24 Jul 2021 23:53:02 +0000 (16:53 -0700)
committerIan Lance Taylor <iant@golang.org>
Sun, 25 Jul 2021 17:16:20 +0000 (17:16 +0000)
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>
doc/go_spec.html

index df256f0f0eec053c41135ae3430fa374cd37bfc0..cc7ed6a5618520583ad3c85c73e617383d99d241 100644 (file)
@@ -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>