mirror of
https://github.com/dtolnay/cargo-expand.git
synced 2025-04-04 05:17:37 +03:00
Format exhaustive match using rustfmt
This commit is contained in:
parent
a9de781ddb
commit
ba8a16a3e7
1 changed files with 0 additions and 1 deletions
|
@ -62,7 +62,6 @@ fn remove_doc_attributes(attrs: &mut Vec<Attribute>) {
|
|||
fn attrs_mut(e: &mut Expr) -> Option<&mut Vec<Attribute>> {
|
||||
match e {
|
||||
#![cfg_attr(all(test, exhaustive), deny(non_exhaustive_omitted_patterns))]
|
||||
|
||||
Expr::Array(ExprArray { attrs, .. })
|
||||
| Expr::Assign(ExprAssign { attrs, .. })
|
||||
| Expr::Async(ExprAsync { attrs, .. })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue