From: Alberto Donizetti Date: Sat, 19 Feb 2022 17:13:52 +0000 (+0100) Subject: doc/go1.18: fix a few small typos, add a few commas X-Git-Tag: go1.18~33^2~33 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c9fe126c8bf25d14b233f1ccaff12c1bffbd4971;p=gostls13.git doc/go1.18: fix a few small typos, add a few commas Updates #47694 Change-Id: I6c1c3698fdd55fe83c756f28776d1d26dba0a9df Reviewed-on: https://go-review.googlesource.com/c/go/+/386974 Trust: Alberto Donizetti Reviewed-by: Ian Lance Taylor --- diff --git a/doc/go1.18.html b/doc/go1.18.html index 8a5c1d8fad..8617dd8fe1 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -137,7 +137,7 @@ Do not send CLs removing the interior tags from such phrases.
  • Embedding a type parameter, or a pointer to a type parameter, as - an unnamed field in a struct type is not permitted. Similarly + an unnamed field in a struct type is not permitted. Similarly, embedding a type parameter in an interface type is not permitted. Whether these will ever be permitted is unclear at present.
  • @@ -275,7 +275,7 @@ Do not send CLs removing the interior tags from such phrases.

    The go command now embeds version control information in - binaries including the currently checked-out revision, commit time, and a + binaries. It includes the currently checked-out revision, commit time, and a flag indicating whether edited or untracked files are present. Version control information is embedded if the go command is invoked in a directory within a Git, Mercurial, Fossil, or Bazaar repository, and the @@ -285,7 +285,7 @@ Do not send CLs removing the interior tags from such phrases.

    - Additionally, the go command embeds information about the build + Additionally, the go command embeds information about the build, including build and tool tags (set with -tags), compiler, assembler, and linker flags (like -gcflags), whether cgo was enabled, and if it was, the values of the cgo environment variables @@ -509,7 +509,7 @@ For more information, see https://

    - The new compiler -asan option supports the + The new -asan compiler option supports the new go command -asan option.

    @@ -539,7 +539,7 @@ For more information, see
    https://

    - The new linker -asan option supports the + The new -asan linker option supports the new go command -asan option.

    @@ -680,8 +680,8 @@ For more details, see
    go.dev/issue/44505

    - The methods Reader.Reset and - Writer.Reset + The Reader.Reset and + Writer.Reset methods now use the default buffer size when called on objects with a nil buffer.

    @@ -1043,7 +1043,7 @@ For more details, see go.dev/issue/44505
    os/user

    - User.GroupIds. + User.GroupIds now uses a Go native implementation when cgo is not available.

    @@ -1056,7 +1056,7 @@ For more details, see go.dev/issue/44505Value.SetIterKey and Value.SetIterValue methods set a Value using a map iterator as the source. They are equivalent to - Value.Set(iter.Key()) and Value.Set(iter.Value()) but + Value.Set(iter.Key()) and Value.Set(iter.Value()), but do fewer allocations.

    @@ -1219,7 +1219,7 @@ For more details, see go.dev/issue/44505
    syscall/js

    - Wrapper interface has been removed. + The Wrapper interface has been removed.

    @@ -1291,7 +1291,7 @@ For more details, see go.dev/issue/44505
    unicode/utf8

    - The AppendRune function appends the UTF-8 new + The new AppendRune function appends the UTF-8 encoding of a rune to a []byte.