aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2016-06-27 23:27:54 -0700
committerJoe Tsai <thebrokentoaster@gmail.com>2016-06-28 16:55:20 +0000
commit3001334e7752af67036a6d9c30c919cbfea81a7c (patch)
tree3573e89eac9d8954ed8695ade65be6baa4dc3458
parenta2a4db7375204c22898559d3b96a748c6df96294 (diff)
downloadgo-3001334e7752af67036a6d9c30c919cbfea81a7c.tar.gz
go-3001334e7752af67036a6d9c30c919cbfea81a7c.zip
doc/go1.7.html: mention recent changes to Rand.Read
Updates #16124 Change-Id: Ib58f2bb37fd1559efc512a2e3cba976f09b939a0 Reviewed-on: https://go-review.googlesource.com/24520 Reviewed-by: Andrew Gerrand <adg@golang.org>
-rw-r--r--doc/go1.7.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/go1.7.html b/doc/go1.7.html
index 8a76b369bc..c80be957a1 100644
--- a/doc/go1.7.html
+++ b/doc/go1.7.html
@@ -782,6 +782,20 @@ package.
</dd>
</dl>
+<dl id="math_rand"><dt><a href="/pkg/math/rand/">math/rand</a></dt>
+
+<dd>
+<p>
+The
+<a href="/pkg/math/rand/#Read"><code>Read</code></a> function and
+<a href="/pkg/math/rand/#Rand"><code>Rand</code></a>'s
+<a href="/pkg/math/rand/#Rand.Read"><code>Read</code></a> method
+now produce a pseudo-random stream of bytes that is consistent and not
+dependent on the size of the input buffer.
+</p>
+</dd>
+</dl>
+
<dl id="mime_multipart"><dt><a href="/pkg/mime/multipart/">mime/multipart</a></dt>
<dd>