Skip to content

Commit

Permalink
fix docstring of replace
Browse files Browse the repository at this point in the history
  • Loading branch information
rfourquet committed Feb 27, 2020
1 parent a91edd0 commit 57a9821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/set.jl
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ subtract_singletontype(::Type{T}, x::Pair{K}, y::Pair...) where {T, K} =
"""
replace(new::Function, A; [count::Integer])
Return a copy of `A` where each value `x` in `A` is replaced by `new(x)`
Return a copy of `A` where each value `x` in `A` is replaced by `new(x)`.
If `count` is specified, then replace at most `count` values in total
(replacements being defined as `new(x) !== x`).
Expand Down

0 comments on commit 57a9821

Please sign in to comment.