Skip to content

Commit f1c1887

Browse files
committed
stdlib: Remove unneeded fail statements from std::list. Remove FIXMEs
1 parent f6beec6 commit f1c1887

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib/list.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ fn foldl[T,U](&list[T] ls, &U u, fn(&T t, &U u) -> U f) -> U {
3131
ret u;
3232
}
3333
}
34-
fail; // TODO: remove me when exhaustiveness checking works
3534
}
3635

3736
fn find[T,U](&list[T] ls,
@@ -51,8 +50,6 @@ fn find[T,U](&list[T] ls,
5150
ret none[U];
5251
}
5352
}
54-
55-
fail; // TODO: remove me when exhaustiveness checking works
5653
}
5754

5855
fn length[T](&list[T] ls) -> uint {

0 commit comments

Comments
 (0)