diff options
author | Ian Lance Taylor <iant@golang.org> | 2014-05-16 12:20:03 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2014-05-16 12:20:03 -0700 |
commit | 2a627da326089dcbe9e77cdc30a3a823a1c6689a (patch) | |
tree | 1f6a9e8f1bce8a2c833e8875b9c8d08b3a1715bf | |
parent | 4cf79eb80c37dcc6aa2a22ebd242a9db0d28d2c3 (diff) | |
download | go-2a627da326089dcbe9e77cdc30a3a823a1c6689a.tar.gz go-2a627da326089dcbe9e77cdc30a3a823a1c6689a.zip |
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
-rw-r--r-- | doc/go_spec.html | 2 |
1 files changed, 1 insertions, 1 deletions
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. </p> <p> |