Skip to content

Commit 7509a3d

Browse files
committed
Remove obsolete FIXME
1 parent 97c2255 commit 7509a3d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rustc/util/common.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ fn local_rhs_span(l: @ast::local, def: span) -> span {
8787
}
8888

8989
fn is_main_name(path: syntax::ast_map::path) -> bool {
90-
// FIXME (#34): path should be a constrained type, so we know
91-
// the call to last doesn't fail.
9290
vec::last(path) == syntax::ast_map::path_name(
9391
syntax::parse::token::special_idents::main
9492
)

0 commit comments

Comments
 (0)