From: Ian Lance Taylor Date: Fri, 16 May 2014 19:20:03 +0000 (-0700) Subject: spec: clarify that newlines are kept in raw string literals X-Git-Tag: go1.3beta2~39 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2a627da326089dcbe9e77cdc30a3a823a1c6689a;p=gostls13.git spec: clarify that newlines are kept in raw string literals Fixes #8007. LGTM=r R=gri, r CC=golang-codereviews https://golang.org/cl/91510044 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 8a7e8ec032..c8d6f362e5 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -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.