Skip to content

Commit 48e1060

Browse files
committed
fix pop!
1 parent 988cbfa commit 48e1060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ordered_robin_dict.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ julia> pop!(d, "e", 4)
382382
"""
383383
function Base.pop!(h::OrderedRobinDict, key, default)
384384
index = get(h.dict, key, -1)
385-
(index > 0) ? _pop(h, index) : default
385+
(index > 0) ? _pop!(h, index) : default
386386
end
387387

388388
"""

0 commit comments

Comments
 (0)