diff --git a/doc/go1.10.html b/doc/go1.10.html index 423bc84b35..99607abd80 100644 --- a/doc/go1.10.html +++ b/doc/go1.10.html @@ -36,7 +36,7 @@ OVERVIEW HERE

Changes to the language

-There are no substantive changes to the language. +There are no substantial changes to the language.

@@ -116,7 +116,7 @@ The go build command now detects out-of-date pack purely based on the content of source files, specified build flags, and metadata stored in the compiled packages. Modification times are no longer consulted or relevant. The old advice to add -a to force a rebuild in cases where -the modification times were misleading for one reason or another +the modification times were misleading for one reason or another (for example, changes in build flags) is no longer necessary: builds now always detect when packages must be rebuilt. (If you observe otherwise, please file a bug.) @@ -155,7 +155,7 @@ For example, go install cmd/gofmt installs the gofmt program but not any of the packages on which it depends. The new build cache makes future commands still run as quickly as if the dependencies had been installed. -To force the installation of dependencies, use the new +To force the installation of dependencies, use the new go install -i flag. Installing dependency packages should not be necessary in general, and the very concept of installed packages may disappear in a future release. @@ -318,7 +318,7 @@ $ go doc mail.Address package mail // import "net/mail" type Address struct { - Name string + Name string Address string } Address represents a single mail address. @@ -390,7 +390,7 @@ First, certain complex three-index slice expressions previously formatted like x[i+1 : j:k] and now format with more consistent spacing: x[i+1 : j : k]. Second, single-method interface literals written on a single line, -which are sometimes used in type assertions, +which are sometimes used in type assertions, are no longer split onto multiple lines.

@@ -499,7 +499,7 @@ instructions.

-For the PowerPC 64-bit port, the assembler now supports the POWER9 instructions +For the PowerPC 64-bit port, the assembler now supports the POWER9 instructions ADDEX, CMPEQB, COPY, @@ -519,7 +519,7 @@ and

-For the S390X port, the assembler now supports the +For the S390X port, the assembler now supports the TMHH, TMHL, TMLH, @@ -841,8 +841,8 @@ types and associated constants.

Go 1.10 also adds support for the LC_RPATH load command, -represented by the types -RpathCmd and +represented by the types +RpathCmd and Rpath, and new named constants for the various flag bits found in headers. @@ -882,7 +882,7 @@ such as NUL, carriage return, newline, invalid runes, and the Unicode replacemen or setting Comma and Comment equal to each other.

-In the case of a syntax error in a CSV record that spans multiple input lines, Reader +In the case of a syntax error in a CSV record that spans multiple input lines, Reader now reports the line on which the record started in the ParseError's new StartLine field.

@@ -892,17 +892,17 @@ now reports the line on which the record started in the NewEncoder -and +and NewDecoder provide streaming conversions to and from hexadecimal, -analogous to equivalent functions already in +analogous to equivalent functions already in encoding/base32 and encoding/base64.

-When the functions +When the functions Decode and DecodeString @@ -950,7 +950,7 @@ block that is impossible to encode as PEM data.

The new function NewTokenDecoder -is like +is like NewDecoder but creates a decoder reading from a TokenReader instead of an XML-formatted byte stream. @@ -963,7 +963,7 @@ This is meant to enable the construction of XML stream transformers in client li

The default Usage function now prints -its first line of output to +its first line of output to CommandLine.Output() instead of assuming os.Stderr, so that the usage message is properly redirected for @@ -1048,9 +1048,9 @@ in its SetString and MaxBase has been updated.

-Int adds a new +Int adds a new CmpAbs method -that is like Cmp but +that is like Cmp but compares only the absolute values (not the signs) of its arguments.

@@ -1135,7 +1135,7 @@ goroutines shortly after Close returned.)

TCPListener and UnixListener -now implement +now implement syscall.Conn, to allow setting options on the underlying file descriptor using syscall.RawConn.Control. @@ -1275,7 +1275,7 @@ The definition of these methods matches those in

Also matching net.Conn, -File's +File's Close method now guarantee that when Close returns, the underlying file descriptor has been closed. @@ -1286,7 +1286,7 @@ goroutines shortly after Close returned.)

-On BSD, macOS, and Solaris systems, +On BSD, macOS, and Solaris systems, Chtimes now supports setting file times with nanosecond precision (assuming the underlying file system can represent them). @@ -1334,7 +1334,7 @@ the binary that generated them.

strconv

-ParseUint now returns +ParseUint now returns the maximum magnitude integer of the appropriate size with any ErrRange error, as it was already documented to do. Previously it returned 0 with ErrRange errors.