diff --git a/base/bitset.jl b/base/bitset.jl index e575fb7dde7cd..ca92c94ce8e7f 100644 --- a/base/bitset.jl +++ b/base/bitset.jl @@ -47,12 +47,11 @@ copy(s1::BitSet) = copy!(BitSet(), s1) copymutable(s::BitSet) = copy(s) """ - copy!(dst, src) + copy!(dst::BitSet, src::BitSet) In-place [`copy`](@ref) of `src` into `dst`. After the call to `copy!`, -`dst` must be left equal to `src`, otherwise an error is thrown; this -function appropriately resizes `dst` if necessary. -See also [`copyto!`](@ref). +`dst` is equal to `src`. This function appropriately resizes `dst` if +necessary. See also [`copyto!`](@ref). """ function copy!(dest::BitSet, src::BitSet) resize!(dest.bits, length(src.bits))