diff --git a/doc/go_spec.html b/doc/go_spec.html index 4604cb65e4665..941a2055f49a9 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -6209,7 +6209,7 @@
@@ -7389,16 +7389,16 @@
s0 := []int{0, 0} -s1 := append(s0, 2) // append a single element s1 == []int{0, 0, 2} -s2 := append(s1, 3, 5, 7) // append multiple elements s2 == []int{0, 0, 2, 3, 5, 7} -s3 := append(s2, s0...) // append a slice s3 == []int{0, 0, 2, 3, 5, 7, 0, 0} -s4 := append(s3[3:6], s3[2:]...) // append overlapping slice s4 == []int{3, 5, 7, 2, 3, 5, 7, 0, 0} +s1 := append(s0, 2) // append a single element s1 is []int{0, 0, 2} +s2 := append(s1, 3, 5, 7) // append multiple elements s2 is []int{0, 0, 2, 3, 5, 7} +s3 := append(s2, s0...) // append a slice s3 is []int{0, 0, 2, 3, 5, 7, 0, 0} +s4 := append(s3[3:6], s3[2:]...) // append overlapping slice s4 is []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 is []interface{}{42, 3.1415, "foo"} var b []byte -b = append(b, "bar"...) // append string contents b == []byte{'b', 'a', 'r' } +b = append(b, "bar"...) // append string contents b is []byte{'b', 'a', 'r' }
@@ -7428,9 +7428,9 @@