nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: remove some explicit Object bounds
[nit.git]
/
lib
/
standard
/
abstract_collection.nit
diff --git
a/lib/standard/abstract_collection.nit
b/lib/standard/abstract_collection.nit
index
8f0a11d
..
cea7a6c
100644
(file)
--- a/
lib/standard/abstract_collection.nit
+++ b/
lib/standard/abstract_collection.nit
@@
-67,7
+67,7
@@
end
# Naive implementation of collections method
# You only have to define iterator!
-interface NaiveCollection[E: Object]
+interface NaiveCollection[E]
special Collection[E]
redef meth is_empty do return length == 0