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 | 27cb8c385bf485f0503d2232814d476b949cfa8e (patch) | |
tree | e1d4b34f521ede9ddcd943b95b9fb285a09bbf08 /doc | |
parent | 35b325b643d7494cef90e1d367dd5789cc9c73e2 (diff) | |
download | go-27cb8c385bf485f0503d2232814d476b949cfa8e.tar.gz |
spec: clarify that newlines are kept in raw string literals
Fixes issue 8007.
LGTM=r
R=gri, r
CC=golang-codereviews
https://codereview.appspot.com/91510044
Diffstat (limited to 'doc')
-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 8a7e8ec03..c8d6f362e 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> |