Skip to content

Commit 317794d

Browse files
committed
Fix the overloaded docs in v0.18.1
1 parent 1195737 commit 317794d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/ordered_robin_dict.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ OrderedRobinDict{String,Int64} with 4 entries:
205205
"d" => 4
206206
```
207207
"""
208-
get!(collection, key, default)
209-
210208
function get!(h::OrderedRobinDict{K,V}, key0, default) where {K,V}
211209
index = get(h.dict, key0, -2)
212210
index > 0 && return h.vals[index]
@@ -229,8 +227,6 @@ get!(dict, key) do
229227
end
230228
```
231229
"""
232-
get!(f::Function, collection, key)
233-
234230
function get!(default::Base.Callable, h::OrderedRobinDict{K,V}, key0) where {K,V}
235231
index = get(h.dict, key0, -2)
236232
index > 0 && return @inbounds h.vals[index]
@@ -261,8 +257,6 @@ julia> get(d, "c", 3)
261257
3
262258
```
263259
"""
264-
get(collection, key, default)
265-
266260
function get(h::OrderedRobinDict{K,V}, key, default) where {K,V}
267261
index = get(h.dict, key, -1)
268262
return (index < 0) ? default : @inbounds h.vals[index]::V
@@ -282,8 +276,6 @@ get(dict, key) do
282276
end
283277
```
284278
"""
285-
get(::Function, collection, key)
286-
287279
function get(default::Base.Callable, h::OrderedRobinDict{K,V}, key) where {K,V}
288280
index = get(h.dict, key, -1)
289281
return (index < 0) ? default() : @inbounds h.vals[index]::V
@@ -382,8 +374,6 @@ julia> pop!(d, "e", 4)
382374
4
383375
```
384376
"""
385-
pop!(collection, key, default)
386-
387377
function pop!(h::OrderedRobinDict, key, default)
388378
index = get(h.dict, key, -1)
389379
(index > 0) ? _pop(h, index) : default

0 commit comments

Comments
 (0)