Fix comments
This commit is contained in:
parent
dfa0db5961
commit
ca2057cedf
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue