stdlib: Remove unneeded fail statements from std::list. Remove FIXMEs
This commit is contained in:
parent
f6beec6c43
commit
f1c1887cab
1 changed files with 0 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue