Skip to content

Commit

Permalink
Add cross-references between something/coalesce (#34086)
Browse files Browse the repository at this point in the history
  • Loading branch information
non-Jedi authored and KristofferC committed Apr 11, 2020
1 parent 6753a1b commit 5711a16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/missing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ end
Return the first value in the arguments which is not equal to [`missing`](@ref),
if any. Otherwise return `missing`.
See also [`something`](@ref).
# Examples
```jldoctest
Expand Down
2 changes: 2 additions & 0 deletions base/some.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ Return the first value in the arguments which is not equal to [`nothing`](@ref),
if any. Otherwise throw an error.
Arguments of type [`Some`](@ref) are unwrapped.
See also [`coalesce`](@ref).
# Examples
```jldoctest
julia> something(nothing, 1)
Expand Down

0 comments on commit 5711a16

Please sign in to comment.