mirror of
https://github.com/golang/go.git
synced 2024-09-22 10:58:58 +00:00
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
This commit is contained in:
parent
4cf79eb80c
commit
2a627da326
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user