Skip to content

Commit e85434e

Browse files
committed
the string is not necessarily ASCII (tkelman)
1 parent 7d3a616 commit e85434e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/random.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ end
14211421
"""
14221422
randstring([rng=GLOBAL_RNG], [chars::AbstractArray{<:Union{UInt8,Char}}], [len=8])
14231423
1424-
Create a random ASCII string of length `len`, consisting of characters
1424+
Create a random string of length `len`, consisting of characters
14251425
from `chars` if specified, and of upper- and lower-case letters and
14261426
the digits 0-9 otherwise. The optional `rng` argument specifies a
14271427
random number generator, see [Random Numbers](@ref).

0 commit comments

Comments
 (0)