aboutsummaryrefslogtreecommitdiffstats
path: root/components/style_derive/cg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style_derive/cg.rs')
-rw-r--r--components/style_derive/cg.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/style_derive/cg.rs b/components/style_derive/cg.rs
index a6de812347d..98afe57d1ad 100644
--- a/components/style_derive/cg.rs
+++ b/components/style_derive/cg.rs
@@ -53,9 +53,7 @@ pub fn fmap_trait_output(input: &DeriveInput, trait_path: &Path, trait_output: I
},
&GenericParam::Type(ref data) => {
let ident = data.ident;
- GenericArgument::Type(
- parse_quote!(<#ident as #trait_path>::#trait_output),
- )
+ GenericArgument::Type(parse_quote!(<#ident as #trait_path>::#trait_output))
},
ref arg => panic!("arguments {:?} cannot be mapped yet", arg),
})