Skip to content

Commit ea07765

Browse files
authored
doc: change outdated warn admonitions to warning (#36887)
1 parent 1888e31 commit ea07765

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

base/stream.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ and take ownership of the fd handle.
321321
Call `open(Libc.dup(fd))` to avoid the ownership capture
322322
of the original handle.
323323
324-
!!! warn
324+
!!! warning
325325
Do not call this on a handle that's already owned by some
326326
other part of the system.
327327
"""

stdlib/Random/docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ unbounded integers, the interval must be specified (e.g. `rand(big.(1:6))`).
2626
Additionally, normal and exponential distributions are implemented for some `AbstractFloat` and
2727
`Complex` types, see [`randn`](@ref) and [`randexp`](@ref) for details.
2828

29-
!!! warn
29+
!!! warning
3030
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.
3131

3232
## Random numbers module

0 commit comments

Comments
 (0)