]> Cypherpunks repositories - gostls13.git/commitdiff
spec: clarify that newlines are kept in raw string literals
authorIan Lance Taylor <iant@golang.org>
Fri, 16 May 2014 19:20:03 +0000 (12:20 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 16 May 2014 19:20:03 +0000 (12:20 -0700)
Fixes #8007.

LGTM=r
R=gri, r
CC=golang-codereviews
https://golang.org/cl/91510044

doc/go_spec.html

index 8a7e8ec032c5405dbaab4b8763bfafe151cf697d..c8d6f362e572e5c462cd404cabc8bcd30ca9cc3f 100644 (file)
@@ -471,7 +471,7 @@ string composed of the uninterpreted (implicitly UTF-8-encoded) characters
 between the quotes;
 in particular, backslashes have no special meaning and the string may
 contain newlines.
-Carriage returns inside raw string literals
+Carriage return characters ('\r') inside raw string literals
 are discarded from the raw string value.
 </p>
 <p>