]> Cypherpunks repositories - gostls13.git/commit
doc: minor clarification regarding the sharing of underlying arrays
authorgriesemer <gri@golang.org>
Tue, 29 Aug 2017 13:48:07 +0000 (15:48 +0200)
committerRobert Griesemer <gri@golang.org>
Wed, 30 Aug 2017 15:24:12 +0000 (15:24 +0000)
commit2ac43d5be2e6b48b9806f9456d932d2884705e10
tree4a8daa047a75e5014704b8573e2f2f3ee9af0707
parent64607dbd26612850d64c4422f14001387956d022
doc: minor clarification regarding the sharing of underlying arrays

The last sentence in the section on slice expressions could be read
as if it might apply to strings. Changed the sentence a bit to
emphasize its applicability to slices only. See also the issue for
more background.

Fixes #19220.

Change-Id: I8551f34230e4ed93f951e7b871cc81f54a5874a9
Reviewed-on: https://go-review.googlesource.com/59890
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go_spec.html