aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerrin Shaji George <jerrinsg@gmail.com>2018-08-15 13:57:50 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2018-08-15 23:10:32 +0000
commit88f526a9f954c28acf35dc7a7d5f5729d880bfea (patch)
tree4b5e9c243a855e68853bb1e984b23bf2585309ef
parentfe66b0663d7c21dc9e16701b060a8956d9821365 (diff)
content/slices.article: fix a typo
Change-Id: Id0b88adc1cf99b09149b75768b4e12f8d974eba0 Reviewed-on: https://go-review.googlesource.com/129455 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--content/slices.article2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/slices.article b/content/slices.article
index 015d56f..324e8e1 100644
--- a/content/slices.article
+++ b/content/slices.article
@@ -422,7 +422,7 @@ Try it:
.play -edit slices/prog120.go /START/,/END/
-Another new technique is in this example is that we initialize the slice by writing a composite literal,
+Another new technique in this example is that we initialize the slice by writing a composite literal,
which consists of the type of the slice followed by its elements in braces:
.code slices/prog120.go /slice := /