Tighten spans for async blocks
This commit is contained in:
parent
514fe39e25
commit
51df533d06
@ -372,7 +372,7 @@ fn needs_space_after_range(rhs: &ast::Expr) -> bool {
|
||||
))
|
||||
}
|
||||
}
|
||||
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…
Reference in New Issue
Block a user