Skip to content

Commit

Permalink
Not include Enumerable directly
Browse files Browse the repository at this point in the history
because Indexable includes Enumerable
  • Loading branch information
makenowjust authored and asterite committed Dec 15, 2016
1 parent fae6cc4 commit 0172980
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/bit_array.cr
Expand Up @@ -15,7 +15,6 @@
# ba # => "BitArray[101010101010]"
# ba[2] # => true
struct BitArray
include Enumerable(Bool)
include Indexable(Bool)

# The number of bits the BitArray stores
Expand Down
1 change: 0 additions & 1 deletion src/tuple.cr
Expand Up @@ -62,7 +62,6 @@
# tuple # => {1, "hello", 'x'} (Tuple(Int32, String, Char))
# ```
struct Tuple
include Enumerable(Union(*T))
include Indexable(Union(*T))
include Comparable(Tuple)

Expand Down

0 comments on commit 0172980

Please sign in to comment.