Skip to content

Commit 43386c1

Browse files
nsajkorfourquet
andcommitted
fix dispatch constraint: restrict to NTuple
Co-authored-by: Rafael Fourquet <fourquet.rafael@gmail.com>
1 parent 38c339d commit 43386c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Random/src/misc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ end
260260
shuffle!(a::AbstractArray) = shuffle!(default_rng(), a)
261261

262262
"""
263-
shuffle([rng=default_rng(),] v::Union{Tuple,AbstractArray})
263+
shuffle([rng=default_rng(),] v::Union{NTuple,AbstractArray})
264264
265265
Return a randomly permuted copy of `v`. The optional `rng` argument specifies a random
266266
number generator (see [Random Numbers](@ref)).

0 commit comments

Comments
 (0)