parent
b9ab3ef9da
commit
981b031c9f
2 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue