mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Removed unneeded pattern matching
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ fn visit_item(&mut self, item: &ast::Item) {
|
||||
}
|
||||
}
|
||||
// FIXME(#78): format traits.
|
||||
ast::Item_::ItemTrait(unsafety, ref generics, ref param_bounds, ref trait_items) => {
|
||||
ast::Item_::ItemTrait(..) => {
|
||||
self.format_missing_with_indent(item.span.lo);
|
||||
if let Some(trait_str) = format_trait(&self.get_context(),
|
||||
item,
|
||||
|
||||
Reference in New Issue
Block a user