fix API of union

This commit is contained in:
Daniel Micay 2013-01-15 07:05:41 -05:00 committed by Graydon Hoare
parent dc27759bd1
commit 3b3ecc9ffc

View File

@ -266,7 +266,7 @@ impl <T: Ord> TreeSet<T> {
}
/// Visit the values (in-order) representing the union
pure fn union(&self, _other: &TreeSet<T>, _f: fn(&T) -> bool) -> TreeSet<T> {
pure fn union(&self, _other: &TreeSet<T>, _f: fn(&T) -> bool) {
fail ~"not yet implemented" // TODO
}
}