Skip to content

Commit 7d8c8c0

Browse files
dominikhianlancetaylor
authored andcommitted
doc: missing words and letters in release notes
Change-Id: Ica7f2a000eb1d89d5b02cb8c6f1596ddc04bfb26 Reviewed-on: https://go-review.googlesource.com/18890 Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 4f40182 commit 7d8c8c0

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

doc/go1.6.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ <h3 id="compiler">Compiler Toolchain</h3>
118118
</p>
119119

120120
<p>
121-
The compiler, linker, and <code>go</code> command have new flag <code>-msan</code>,
121+
The compiler, linker, and <code>go</code> command have a new flag <code>-msan</code>,
122122
analogous to <code>-race</code> and only available on linux/amd64,
123123
that enables interoperation with the <a href="http://clang.llvm.org/docs/MemorySanitizer.html">Clang MemorySanitizer</a>.
124-
Such interoperation useful mainly for testing a program containing suspect C or C++ code.
124+
Such interoperation is useful mainly for testing a program containing suspect C or C++ code.
125125
</p>
126126

127127
<p>
@@ -588,7 +588,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
588588
The <a href="/pkg/encoding/base64"><code>encoding/base64</code></a> package's
589589
<a href="/pkg/encoding/base64/#Decoder"><code>Decoder</code></a> has been fixed
590590
to process the final bytes of its input. Previously it processed as many four-byte tokens as
591-
possible but ignore the remainder, up to three bytes.
591+
possible but ignored the remainder, up to three bytes.
592592
The <code>Decoder</code> therefore now handles inputs in unpadded encodings (like
593593
<a href="/pkg/encoding/base64/#RawURLEncoding">RawURLEncoding</a>) correctly,
594594
but it also rejects inputs in padded encodings that are truncated or end with invalid bytes,
@@ -631,13 +631,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
631631
Also in the <a href="/pkg/fmt/"><code>fmt</code></a> package,
632632
<a href="/pkg/fmt/#Scanf"><code>Scanf</code></a> can now scan hexadecimal strings using %X, as an alias for %x.
633633
Both formats accept any mix of upper- and lower-case hexadecimal.
634-
<a href="golang.org/x/13585">TODO: Keep?</a>
634+
<a href="https://golang.org/issues/13585">TODO: Keep?</a>
635635
</li>
636636

637637
<li>
638638
The <a href="/pkg/image/"><code>image</code></a>
639639
and
640-
The <a href="/pkg/image/color/"><code>image/color</code></a> packages
640+
<a href="/pkg/image/color/"><code>image/color</code></a> packages
641641
add
642642
<a href="/pkg/image/#NYCbCrA"><code>NYCbCrA</code></a>
643643
and
@@ -731,10 +731,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
731731
<code>Expect:</code> <code>100-continue</code> header (see
732732
<a href="/pkg/http/#Transport"><code>Transport.ExpectContinueTimeout</code></a>).
733733
Third, there are
734-
<a href="/pkg/net/http/#pkg-constants">four new error codes</a> from RFC 6585:
734+
<a href="/pkg/net/http/#pkg-constants">five new error codes</a> from RFC 6585:
735735
<code>StatusPreconditionRequired</code> (428),
736736
<code>StatusTooManyRequests</code> (429),
737737
<code>StatusRequestHeaderFieldsTooLarge</code> (431),
738+
<code>StatusUnavailableForLegalReasons</code> (451)),
738739
and
739740
<code>StatusNetworkAuthenticationRequired</code> (511).
740741
Fourth, the implementation and documentation of
@@ -825,7 +826,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
825826
<a href="/pkg/os/exec/#Cmd.Output"><code>Output</code></a> method continues to return an
826827
<a href="/pkg/os/exec/#ExitError"><code>ExitError</code></a> when a command exits with an unsuccessful status.
827828
If standard error would otherwise have been discarded,
828-
the returned <code>ExitError</code> now holds a prefix
829+
the returned <code>ExitError</code> now holds a prefix and suffix
829830
(currently 32 kB) of the failed command's standard error output,
830831
for debugging or for inclusion in error messages.
831832
The <code>ExitError</code>'s

0 commit comments

Comments
 (0)