File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,6 @@ field_reassign_with_default = "allow"
175175forget_non_drop = " allow"
176176format_collect = " allow"
177177large_enum_variant = " allow"
178- match_single_binding = " allow"
179178needless_borrow = " allow"
180179needless_doctest_main = " allow"
181180needless_lifetimes = " allow"
Original file line number Diff line number Diff line change 1+ #![ allow( clippy:: match_single_binding) ]
12#![ allow( clippy:: no_effect) ]
23
34use crate :: size_and_align_expr;
Original file line number Diff line number Diff line change @@ -95,11 +95,7 @@ pub struct MonikerIdentifier {
9595
9696impl ToString for MonikerIdentifier {
9797 fn to_string ( & self ) -> String {
98- match self {
99- MonikerIdentifier { description, crate_name } => {
100- format ! ( "{}::{}" , crate_name, description. iter( ) . map( |x| & x. name) . join( "::" ) )
101- }
102- }
98+ format ! ( "{}::{}" , self . crate_name, self . description. iter( ) . map( |x| & x. name) . join( "::" ) )
10399 }
104100}
105101
You can’t perform that action at this time.
0 commit comments