diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-27 14:56:57 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-06-27 15:19:08 -0400 |
| commit | 51df533d06286cf509dd76b4a604db09fbc85c41 (patch) | |
| tree | f21203d2ffecce4992c5e4858d6f4edaaf072785 | |
| parent | 514fe39e250569a3c894c116a8abe95f635fef1f (diff) | |
| download | rust-51df533d06286cf509dd76b4a604db09fbc85c41.tar.gz rust-51df533d06286cf509dd76b4a604db09fbc85c41.zip | |
Tighten spans for async blocks
| -rw-r--r-- | src/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.rs b/src/expr.rs index 8266f95fd70..c7c4b680b07 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -372,7 +372,7 @@ pub(crate) fn format_expr( )) } } - ast::ExprKind::Gen(capture_by, ref block, ref kind) => { + ast::ExprKind::Gen(capture_by, ref block, ref kind, _) => { let mover = if matches!(capture_by, ast::CaptureBy::Value { .. }) { "move " } else { |
