We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edef8e3 commit 2de66c8Copy full SHA for 2de66c8
utils/rand/rand.go
@@ -14,7 +14,7 @@ import (
14
// Intn is a shortcut for generating a random integer between 0 and
15
// n using crypto/rand.
16
func Intn(n int64) int64 {
17
- // We can guarantee that rand.Int(rand.Reader will never error), and thus
+ // We can guarantee that rand.Int(rand.Reader...) will never error, and thus
18
// we can safely ignore the error.
19
//
20
// See https://go.dev/src/crypto/rand/rand.go
0 commit comments