Remove trailing commas in match arms with blocks
This commit is contained in:
parent
1555eed5fb
commit
b17e38782e
16 changed files with 53 additions and 53 deletions
|
|
@ -167,7 +167,7 @@ pub fn get_item_name(cx: &LateContext, expr: &Expr) -> Option<Name> {
|
|||
Some(NodeTraitItem(&TraitItem{ id: _, ref name, .. })) |
|
||||
Some(NodeImplItem(&ImplItem{ id: _, ref name, .. })) => {
|
||||
Some(*name)
|
||||
},
|
||||
}
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue