Remove obsolete FIXME

This commit is contained in:
Tim Chevalier 2012-10-11 16:44:05 -07:00
parent 97c2255822
commit 7509a3d75b

View File

@ -87,8 +87,6 @@ fn local_rhs_span(l: @ast::local, def: span) -> span {
}
fn is_main_name(path: syntax::ast_map::path) -> bool {
// FIXME (#34): path should be a constrained type, so we know
// the call to last doesn't fail.
vec::last(path) == syntax::ast_map::path_name(
syntax::parse::token::special_idents::main
)