Skip to content

Commit

Permalink
doc: change outdated warn admonitions to warning (JuliaLang#36887)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seelengrab committed Aug 3, 2020
1 parent 1888e31 commit ea07765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ and take ownership of the fd handle.
Call `open(Libc.dup(fd))` to avoid the ownership capture
of the original handle.
!!! warn
!!! warning
Do not call this on a handle that's already owned by some
other part of the system.
"""
Expand Down
2 changes: 1 addition & 1 deletion stdlib/Random/docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ unbounded integers, the interval must be specified (e.g. `rand(big.(1:6))`).
Additionally, normal and exponential distributions are implemented for some `AbstractFloat` and
`Complex` types, see [`randn`](@ref) and [`randexp`](@ref) for details.

!!! warn
!!! warning
Because the precise way in which random numbers are generated is considered an implementation detail, bug fixes and speed improvements may change the stream of numbers that are generated after a version change. Relying on a specific seed or generated stream of numbers during unit testing is thus discouraged - consider testing properties of the methods in question instead.

## Random numbers module
Expand Down

0 comments on commit ea07765

Please sign in to comment.