From 27cb8c385bf485f0503d2232814d476b949cfa8e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 16 May 2014 12:20:03 -0700 Subject: 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 --- doc/go_spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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.

-- cgit v1.2.1