nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: remove superfluous type declaration in signatures
[nit.git]
/
lib
/
standard
/
collection
/
union_find.nit
diff --git
a/lib/standard/collection/union_find.nit
b/lib/standard/collection/union_find.nit
index
12c9c86
..
f4c6baa
100644
(file)
--- a/
lib/standard/collection/union_find.nit
+++ b/
lib/standard/collection/union_find.nit
@@
-115,7
+115,7
@@
class DisjointSet[E]
# s.add(1)
# assert s.has(1)
# assert not s.has(2)
- redef fun has(e: E): Bool
+ redef fun has(e)
do
return nodes.has_key(e)
end