stdlib: Remove unneeded fail statements from std::list. Remove FIXMEs

This commit is contained in:
Brian Anderson 2011-05-22 00:48:33 -04:00
parent f6beec6c43
commit f1c1887cab

View file

@ -31,7 +31,6 @@ fn foldl[T,U](&list[T] ls, &U u, fn(&T t, &U u) -> U f) -> U {
ret u;
}
}
fail; // TODO: remove me when exhaustiveness checking works
}
fn find[T,U](&list[T] ls,
@ -51,8 +50,6 @@ fn find[T,U](&list[T] ls,
ret none[U];
}
}
fail; // TODO: remove me when exhaustiveness checking works
}
fn length[T](&list[T] ls) -> uint {