Skip to content

Commit 12582d0

Browse files
committed
fix tests, import length and isempty explicitly
1 parent ccf9ab5 commit 12582d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/swiss_dict.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ function rehash!(h::SwissDict{K,V}, newsz = length(h.keys)) where {K, V}
345345
return h
346346
end
347347

348-
isempty(t::SwissDict) = (t.count == 0)
349-
length(t::SwissDict) = t.count
348+
Base.isempty(t::SwissDict) = (t.count == 0)
349+
Base.length(t::SwissDict) = t.count
350350

351351
"""
352352
empty!(collection) -> collection

0 commit comments

Comments
 (0)