lib: remove superfluous type declaration in signatures
[nit.git] / lib / standard / collection / union_find.nit
index 12c9c86..f4c6baa 100644 (file)
@@ -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