Skip to content

Commit 2de66c8

Browse files
fix comment
1 parent edef8e3 commit 2de66c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/rand/rand.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
// Intn is a shortcut for generating a random integer between 0 and
1515
// n using crypto/rand.
1616
func Intn(n int64) int64 {
17-
// We can guarantee that rand.Int(rand.Reader will never error), and thus
17+
// We can guarantee that rand.Int(rand.Reader...) will never error, and thus
1818
// we can safely ignore the error.
1919
//
2020
// See https://go.dev/src/crypto/rand/rand.go

0 commit comments

Comments
 (0)