From fbf580a3bc6c99b43dfcd42a1a6ca0e549c9ba6c Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Sat, 22 Sep 2012 05:53:42 +1000 Subject: [PATCH] [release-branch.go1] doc/articles/slices_usage_and_internals: fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ««« backport 5b56c2c0597f doc/articles/slices_usage_and_internals: fix typo Fixes #3753. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6304097 »»» --- doc/articles/slices_usage_and_internals.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/articles/slices_usage_and_internals.html b/doc/articles/slices_usage_and_internals.html index 810b0a41f8..7eb751b455 100644 --- a/doc/articles/slices_usage_and_internals.html +++ b/doc/articles/slices_usage_and_internals.html @@ -243,7 +243,7 @@ slice itself) of a re-slice modifies the elements of the original slice: d := []byte{'r', 'o', 'a', 'd'} e := d[2:] // e == []byte{'a', 'd'} -e[1] == 'm' +e[1] = 'm' // e == []byte{'a', 'm'} // d == []byte{'r', 'o', 'a', 'm'} -- 2.50.0