diff options
author | Robin Eklind <r.eklind.87@gmail.com> | 2014-09-03 10:44:33 -0700 |
---|---|---|
committer | Robin Eklind <r.eklind.87@gmail.com> | 2014-09-03 10:44:33 -0700 |
commit | 76c096cddff0cad76c5791c79de0ed06168c2c93 (patch) | |
tree | 0833992988c03b6132061a32a3a04cca9dae4d48 | |
parent | 2ecc23bf20fee254a66882b65c2e3034a90235b0 (diff) | |
download | go-76c096cddff0cad76c5791c79de0ed06168c2c93.tar.gz |
spec: Add link to rune literals from string literals when talking about escape sequences.
LGTM=gri
R=golang-codereviews, gobot, gri
CC=golang-codereviews
https://codereview.appspot.com/140750043
Committer: Robert Griesemer <gri@golang.org>
-rw-r--r-- | doc/go_spec.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index eec1cdb7a..e8bb35f0b 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -479,7 +479,7 @@ Interpreted string literals are character sequences between double quotes <code>""</code>. The text between the quotes, which may not contain newlines, forms the value of the literal, with backslash escapes interpreted as they -are in rune literals (except that <code>\'</code> is illegal and +are in <a href="#Rune_literals">rune literals</a> (except that <code>\'</code> is illegal and <code>\"</code> is legal), with the same restrictions. The three-digit octal (<code>\</code><i>nnn</i>) and two-digit hexadecimal (<code>\x</code><i>nn</i>) escapes represent individual |