Skip to content

Commit

Permalink
Hash: include Iterable. Related to #3703
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Dec 17, 2016
1 parent 55c7584 commit af707fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hash.cr
Expand Up @@ -3,6 +3,7 @@
# See the [official docs](http://crystal-lang.org/docs/syntax_and_semantics/literals/hash.html) for the basics.
class Hash(K, V)
include Enumerable({K, V})
include Iterable({K, V})

getter size : Int32
@buckets_size : Int32
Expand Down

0 comments on commit af707fd

Please sign in to comment.