Skip to content

Commit 3001334

Browse files
committed
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 <[email protected]>
1 parent a2a4db7 commit 3001334

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/go1.7.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,20 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
782782
</dd>
783783
</dl>
784784

785+
<dl id="math_rand"><dt><a href="/pkg/math/rand/">math/rand</a></dt>
786+
787+
<dd>
788+
<p>
789+
The
790+
<a href="/pkg/math/rand/#Read"><code>Read</code></a> function and
791+
<a href="/pkg/math/rand/#Rand"><code>Rand</code></a>'s
792+
<a href="/pkg/math/rand/#Rand.Read"><code>Read</code></a> method
793+
now produce a pseudo-random stream of bytes that is consistent and not
794+
dependent on the size of the input buffer.
795+
</p>
796+
</dd>
797+
</dl>
798+
785799
<dl id="mime_multipart"><dt><a href="/pkg/mime/multipart/">mime/multipart</a></dt>
786800

787801
<dd>

0 commit comments

Comments
 (0)