aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2013-10-14 14:19:36 -0700
committerRob Pike <r@golang.org>2013-10-14 14:19:36 -0700
commita28f38c30686b995e8853dedb5e295c43c2c2d3d (patch)
tree65d6414645d3fc9f2ab51c87bfc7918499e47ac0
parent190a69e0573a68c27a4cbda968fadf4eec3c1d60 (diff)
go.blog/content/slices: rewrite an ambiguous sentence
Someone was confused by the sentence introducing the relationship between slice headers and the arrays they describe. Rewrite to eliminate the ambiguity. R=golang-dev, iant CC=golang-dev https://golang.org/cl/14680043
-rw-r--r--content/slices.article2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/slices.article b/content/slices.article
index de76408..f627372 100644
--- a/content/slices.article
+++ b/content/slices.article
@@ -73,7 +73,7 @@ for a slice.
Slices are where the action is, but to use them well one must understand
exactly what they are and what they do.
-A slice is a data structure that describes a contiguous section of an array, which is
+A slice is a data structure describing a contiguous section of an array
stored separately from the slice variable itself.
_A_slice_is_not_an_array_.
A slice _describes_ a piece of an array.