From: Rémy Oudompheng Date: Fri, 21 Sep 2012 19:54:03 +0000 (+1000) Subject: [release-branch.go1] spec: correct typo in string conversion examples. X-Git-Tag: go1.0.3~160 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9a1209a2154ceb25e54762ce19d96eaaf56d8a8b;p=gostls13.git [release-branch.go1] spec: correct typo in string conversion examples. ««« backport 65de4b905541 spec: correct typo in string conversion examples. R=golang-dev, dave, r CC=golang-dev, remy https://golang.org/cl/6378046 »»» --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 0f5e803da2..94ab9bbe7f 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -3516,7 +3516,7 @@ the range of valid Unicode code points are converted to "\uFFFD".
 string('a')       // "a"
-string(-1)        // "\ufffd" == "\xef\xbf\xbd "
+string(-1)        // "\ufffd" == "\xef\xbf\xbd"
 string(0xf8)      // "\u00f8" == "ø" == "\xc3\xb8"
 type MyString string
 MyString(0x65e5)  // "\u65e5" == "日" == "\xe6\x97\xa5"