Remove a FIXME

This commit is contained in:
John Kåre Alsaker 2017-07-14 00:25:59 +02:00
parent 05fcef0b3e
commit 6e66dccc44

View File

@ -253,7 +253,6 @@ impl<'a> FnLikeNode<'a> {
},
map::NodeExpr(e) => match e.node {
ast::ExprClosure(_, ref decl, block, _fn_decl_span, _gen) =>
// FIXME: Does this need handling for generators?
closure(ClosureParts::new(&decl, block, e.id, e.span, &e.attrs)),
_ => bug!("expr FnLikeNode that is not fn-like"),
},