fix some unused pattern binding warnings
This commit is contained in:
parent
5ba7434cb1
commit
a8f1bee457
17 changed files with 43 additions and 42 deletions
|
@ -31,7 +31,7 @@ fn stmt_ends_with_semi(stmt: ast::stmt) -> bool {
|
|||
ast::stmt_expr(e, _) => {
|
||||
return expr_requires_semi_to_be_stmt(e);
|
||||
}
|
||||
ast::stmt_semi(e, _) => {
|
||||
ast::stmt_semi(*) => {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue