mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 05:26:47 +00:00
parent
b9ab3ef9da
commit
981b031c9f
@ -494,7 +494,7 @@ fn rewrite_closure(capture: ast::CaptureBy,
|
||||
rules: ast::BlockCheckMode::Default,
|
||||
span: body.span,
|
||||
};
|
||||
return rewrite_closure_block(&block, prefix, context, body_shape.block());
|
||||
return rewrite_closure_block(&block, prefix, context, body_shape);
|
||||
|
||||
fn rewrite_closure_expr(expr: &ast::Expr,
|
||||
prefix: &str,
|
||||
|
@ -292,6 +292,6 @@ fn issue1106() {
|
||||
}
|
||||
|
||||
for entry in WalkDir::new(path).into_iter().filter_entry(|entry| {
|
||||
exclusions.filter_entry(entry)
|
||||
}) {}
|
||||
exclusions.filter_entry(entry)
|
||||
}) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user