Skip to content

Commit

Permalink
oups, bad quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
rfourquet committed Jun 11, 2017
1 parent 5c195d8 commit 53e6f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/random.jl
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ julia> rand(Int, 2)
julia> rand(MersenneTwister(0), Dict(1=>2, 3=>4))
1=>2
```
!!! note
The complexity of `rand(rng, s::Union{Associative,AbstractSet})`
Expand All @@ -282,7 +283,6 @@ julia> rand(MersenneTwister(0), Dict(1=>2, 3=>4))
`Set` and `IntSet`. For more than a few calls, use `rand(rng,
collect(s))` instead, or either `rand(rng, Dict(s))` or `rand(rng,
Set(s))` as appropriate.
```
"""
@inline rand() = rand(GLOBAL_RNG, CloseOpen)
@inline rand(T::Type) = rand(GLOBAL_RNG, T)
Expand Down

0 comments on commit 53e6f69

Please sign in to comment.