Skip to content

Commit 51df533

Browse files
Tighten spans for async blocks
1 parent 514fe39 commit 51df533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ pub(crate) fn format_expr(
372372
))
373373
}
374374
}
375-
ast::ExprKind::Gen(capture_by, ref block, ref kind) => {
375+
ast::ExprKind::Gen(capture_by, ref block, ref kind, _) => {
376376
let mover = if matches!(capture_by, ast::CaptureBy::Value { .. }) {
377377
"move "
378378
} else {

0 commit comments

Comments
 (0)