]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.5.html: fix typo.
authorIan Lance Taylor <iant@golang.org>
Tue, 14 Jul 2015 15:14:03 +0000 (08:14 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 14 Jul 2015 17:17:25 +0000 (17:17 +0000)
Fixes #11704.

Change-Id: If103f8eca7e53b0120885e2ec086db12176ea078
Reviewed-on: https://go-review.googlesource.com/12155
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.5.html

index c54d4ce3160f11e5178729ec96a4d299f101a6f3..3b8d34a496661a3f594833ece2d6e78a3f8686bf 100644 (file)
@@ -938,7 +938,7 @@ value to <code>RGBA</code> has become more precise.
 Previously, the low 8 bits were just an echo of the high 8 bits;
 now they contain more accurate information.
 Because of the echo property of the old code, the operation
-<code>uint8(r)</code> to extract an 8-bit red vaue worked, but is incorrect.
+<code>uint8(r)</code> to extract an 8-bit red value worked, but is incorrect.
 In Go 1.5, that operation may yield a different value.
 The correct code is, and always was, to select the high 8 bits:
 <code>uint8(r&gt;&gt;8)</code>.