Skip to content

Commit

Permalink
crypto/rand: make documentation consistent between package comment an…
Browse files Browse the repository at this point in the history
…d Reader

Updates #25959

Change-Id: I9ae64b216ab5807718db0db98b32de1dc5fa4bec
Reviewed-on: https://go-review.googlesource.com/119875
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
  • Loading branch information
bradfitz committed Jun 20, 2018
1 parent e4a50ce commit f549af6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crypto/rand/rand.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
// license that can be found in the LICENSE file.

// Package rand implements a cryptographically secure
// pseudorandom number generator.
// random number generator.
package rand

import "io"

// Reader is a global, shared instance of a cryptographically
// strong pseudo-random generator.
// secure random number generator.
//
// On Linux, Reader uses getrandom(2) if available, /dev/urandom otherwise.
// On OpenBSD, Reader uses getentropy(2).
Expand Down

0 comments on commit f549af6

Please sign in to comment.