summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Symonds <dsymonds@golang.org>2014-12-04 09:29:29 +1100
committerDavid Symonds <dsymonds@golang.org>2014-12-04 09:29:29 +1100
commit8f0f9d447fd3028e4f4cf890a577c00eaaacdc65 (patch)
tree5fbd6a05ba7fbdee46be243a795772261f7901c6 /doc
parent18b416bab75c23aa867bee5a31075d78bb428502 (diff)
downloadgo-8f0f9d447fd3028e4f4cf890a577c00eaaacdc65.tar.gz
spec: add comment marker for consistency.
LGTM=r R=gri, r CC=golang-codereviews https://codereview.appspot.com/185830043
Diffstat (limited to 'doc')
-rw-r--r--doc/go_spec.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index ca0deb56a..3b67f307f 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -5579,7 +5579,7 @@ s3 := append(s2, s0...) // append a slice s3 == []int{0,
s4 := append(s3[3:6], s3[2:]...) // append overlapping slice s4 == []int{3, 5, 7, 2, 3, 5, 7, 0, 0}
var t []interface{}
-t = append(t, 42, 3.1415, "foo") t == []interface{}{42, 3.1415, "foo"}
+t = append(t, 42, 3.1415, "foo") // t == []interface{}{42, 3.1415, "foo"}
var b []byte
b = append(b, "bar"...) // append string contents b == []byte{'b', 'a', 'r' }