From 9e7e6d9ea41b20e176985c1daf9a24a30b74871b Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 29 Feb 2012 11:29:33 +1100 Subject: [PATCH] doc/go1: tweaks to address rsc's comments R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5706054 --- doc/go1.html | 7 +++---- doc/go1.tmpl | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/doc/go1.html b/doc/go1.html index 88fec19724d..5837104893e 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -348,7 +348,7 @@ was unspecified. This change codifies the unpredictability.

Multiple assignment

-The language specification guarantees that in assignments +The language specification has long guaranteed that in assignments the right-hand-side expressions are all evaluated before any left-hand-side expressions are assigned. To guarantee predictable behavior, Go 1 refines the specification further. @@ -520,8 +520,7 @@ using element-wise comparison.

Second, Go 1 removes the definition of equality for function values, except for comparison with nil. -Finally, Map equality is gone too, also except for comparison with nil, -although it may return one day in a more intuitive form. +Finally, map equality is gone too, also except for comparison with nil.

@@ -1125,7 +1124,7 @@ as encoding/gob. The old Parser type is renamed Decoder and has a new Decode method. An -Encoder type was also introduced. +Encoder type was also introduced.

diff --git a/doc/go1.tmpl b/doc/go1.tmpl index 4e57ff48bfc..ccbda8d1570 100644 --- a/doc/go1.tmpl +++ b/doc/go1.tmpl @@ -293,7 +293,7 @@ was unspecified. This change codifies the unpredictability.

Multiple assignment

-The language specification guarantees that in assignments +The language specification has long guaranteed that in assignments the right-hand-side expressions are all evaluated before any left-hand-side expressions are assigned. To guarantee predictable behavior, Go 1 refines the specification further. @@ -444,8 +444,7 @@ using element-wise comparison.

Second, Go 1 removes the definition of equality for function values, except for comparison with nil. -Finally, Map equality is gone too, also except for comparison with nil, -although it may return one day in a more intuitive form. +Finally, map equality is gone too, also except for comparison with nil.

@@ -1029,7 +1028,7 @@ as encoding/gob. The old Parser type is renamed Decoder and has a new Decode method. An -Encoder type was also introduced. +Encoder type was also introduced.