about summary refs log tree commit diff
path: root/src/libsyntax_ext/deriving/bounds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax_ext/deriving/bounds.rs')
-rw-r--r--src/libsyntax_ext/deriving/bounds.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax_ext/deriving/bounds.rs b/src/libsyntax_ext/deriving/bounds.rs
index efb2fe5eb3b..0bc802283fb 100644
--- a/src/libsyntax_ext/deriving/bounds.rs
+++ b/src/libsyntax_ext/deriving/bounds.rs
@@ -34,9 +34,9 @@ pub fn expand_deriving_copy(cx: &mut ExtCtxt,
     let path = Path::new(v);
 
     let trait_def = TraitDef {
-        span: span,
+        span,
         attributes: Vec::new(),
-        path: path,
+        path,
         additional_bounds: Vec::new(),
         generics: LifetimeBounds::empty(),
         is_unsafe: false,