Skip to content

Commit a3cda94

Browse files
authored
Remove redundant definitions of push!(::AbstractDict, elements...) (#49464)
1 parent a34261f commit a3cda94

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

base/abstractdict.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,8 +560,6 @@ function get!(default::Callable, t::AbstractDict{K,V}, key) where K where V
560560
end
561561

562562
push!(t::AbstractDict, p::Pair) = setindex!(t, p.second, p.first)
563-
push!(t::AbstractDict, p::Pair, q::Pair) = push!(push!(t, p), q)
564-
push!(t::AbstractDict, p::Pair, q::Pair, r::Pair...) = push!(push!(push!(t, p), q), r...)
565563

566564
# AbstractDicts are convertible
567565
convert(::Type{T}, x::T) where {T<:AbstractDict} = x

0 commit comments

Comments
 (0)