Commit 2a627da3 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 4cf79eb8
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment