We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc89c0d commit 68ba80cCopy full SHA for 68ba80c
1 file changed
rand_generic.go
@@ -12,7 +12,7 @@ import "math"
12
13
// ShuffleSlice pseudo-randomizes the order of the elements of s.
14
//
15
-// When r is nil, ShuffleSlices uses non-deterministic goroutine-local
+// When r is nil, ShuffleSlice uses non-deterministic goroutine-local
16
// pseudo-random data source, and is safe for concurrent use from multiple goroutines.
17
func ShuffleSlice[S ~[]E, E any](r *Rand, s S) {
18
if r == nil {
0 commit comments