diff --git a/doc/code.html b/doc/code.html index 2bf50601e4..f9aa6ac171 100644 --- a/doc/code.html +++ b/doc/code.html @@ -576,7 +576,7 @@ provide lists of external Go projects.
For more information on using remote repositories with the go tool, see
-go help remote.
+go help importpath.
In Go 1.1, the rule about final "return" statements is more permissive.
It introduces the concept of a
-terminating statement,
+terminating statement,
a statement that is guaranteed to be the last one a function executes.
Examples include
"for" loops with no condition and "if-else"
@@ -191,7 +191,7 @@ more than 2 billion elements on 64-bit platforms.
Updating:
Most programs will be unaffected by this change.
Because Go does not allow implicit conversions between distinct
-numeric types,
+numeric types,
no programs will stop compiling due to this change.
However, programs that contain implicit assumptions
that int is only 32 bits may change behavior.
diff --git a/doc/go1.2.html b/doc/go1.2.html
index 4b8efb66c1..9f96836ac1 100644
--- a/doc/go1.2.html
+++ b/doc/go1.2.html
@@ -580,8 +580,8 @@ The bufio package
adds Reset
methods to Reader and
Writer.
-These methods allow the Readers
-and Writers
+These methods allow the Readers
+and Writers
to be re-used on new input and output readers and writers, saving
allocation overhead.
@@ -593,7 +593,7 @@ can now decompress concatenated archives.
compress/flate
-package adds a Reset
+package adds a Reset
method on the Writer,
to make it possible to reduce allocation when, for instance, constructing an
archive to hold multiple compressed files.
@@ -621,9 +621,9 @@ method to provide a more efficient way to update an item's position in the heap.
container/list package
-adds the MoveBefore
+adds the MoveBefore
and
-MoveAfter
+MoveAfter
methods, which implement the obvious rearrangement.
go/build package adds
-the AllTags field
+the AllTags field
to the Package type,
to make it easier to process build tags.
time package, the
Parse function
and
-Format
+Format
method
now handle time zone offsets with seconds, such as in the historical
date "1871-01-01T05:33:02+00:34:08".