Remove trailing commas in match arms with blocks

This commit is contained in:
Seo Sanghyeon
2015-11-17 13:39:42 +09:00
parent 1555eed5fb
commit b17e38782e
16 changed files with 53 additions and 53 deletions

View File

@@ -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,
}
}