]> Cypherpunks repositories - gostls13.git/commitdiff
spec: add comment marker for consistency.
authorDavid Symonds <dsymonds@golang.org>
Wed, 3 Dec 2014 22:29:29 +0000 (09:29 +1100)
committerDavid Symonds <dsymonds@golang.org>
Wed, 3 Dec 2014 22:29:29 +0000 (09:29 +1100)
LGTM=r
R=gri, r
CC=golang-codereviews
https://golang.org/cl/185830043

doc/go_spec.html

index ca0deb56a3ebd24c442a4dbb3ed5c207673ad220..3b67f307f6759b1baa770057cb580a9ae0130c52 100644 (file)
@@ -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' }