We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97c2255 commit 7509a3dCopy full SHA for 7509a3d
src/rustc/util/common.rs
@@ -87,8 +87,6 @@ fn local_rhs_span(l: @ast::local, def: span) -> span {
87
}
88
89
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.
92
vec::last(path) == syntax::ast_map::path_name(
93
syntax::parse::token::special_idents::main
94
)
0 commit comments