Tighten spans for async blocks
This commit is contained in:
parent
514fe39e25
commit
51df533d06
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue