From f82097f5cf8a84b89fd8b9cc056f2854c1115c3c Mon Sep 17 00:00:00 2001 From: Robin Eklind Date: Wed, 3 Sep 2014 10:44:33 -0700 Subject: [PATCH] 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://golang.org/cl/140750043 --- doc/go_spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index eec1cdb7a7..e8bb35f0b0 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -479,7 +479,7 @@ Interpreted string literals are character sequences between double quotes "". 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 \' is illegal and +are in rune literals (except that \' is illegal and \" is legal), with the same restrictions. The three-digit octal (\nnn) and two-digit hexadecimal (\xnn) escapes represent individual -- 2.48.1