1
Fork 0

Fix comments

This commit is contained in:
Eric Holk 2021-11-11 15:15:50 -08:00
parent dfa0db5961
commit ca2057cedf

View file

@ -752,14 +752,14 @@ impl<'hir> LoweringContext<'_, 'hir> {
await_span, await_span,
self.allow_into_future.clone(), self.allow_into_future.clone(),
); );
//let expr = self.lower_expr_mut(expr);
let into_future_expr = self.expr_call_lang_item_fn( let into_future_expr = self.expr_call_lang_item_fn(
into_future_span, into_future_span,
hir::LangItem::IntoFutureIntoFuture, hir::LangItem::IntoFutureIntoFuture,
arena_vec![self; expr], arena_vec![self; expr],
); );
// match <into_future_expr> { // mut pinned => loop { .. } // match <into_future_expr> {
// mut pinned => loop { .. }
// } // }
hir::ExprKind::Match( hir::ExprKind::Match(
into_future_expr, into_future_expr,