about summary refs log tree commit diff
path: root/src/libsyntax/ext/deriving/cmp
diff options
context:
space:
mode:
authorPhilipp Brüschweiler <blei42@gmail.com>2013-06-27 15:04:22 +0200
committerPhilipp Brüschweiler <blei42@gmail.com>2013-06-27 15:06:19 +0200
commit7295a6da92ac4bfcbc714848bd611dae54df0b67 (patch)
tree20cb2e86cc5b98024c3d2a9b87fd8ba6289979fb /src/libsyntax/ext/deriving/cmp
parent0bad3e62b48a172389833520fad375fecc3f9be7 (diff)
Remove many shared pointers
Mostly just low-haning fruit, i.e. function arguments that were @ even
though & would work just as well.

Reduces librustc.so size by 200k when compiling without -O, by 100k when
compiling with -O.
Diffstat (limited to 'src/libsyntax/ext/deriving/cmp')
-rw-r--r--src/libsyntax/ext/deriving/cmp/totaleq.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsyntax/ext/deriving/cmp/totaleq.rs b/src/libsyntax/ext/deriving/cmp/totaleq.rs
index ccfb34a3a2f..70ac4d3d4c1 100644
--- a/src/libsyntax/ext/deriving/cmp/totaleq.rs
+++ b/src/libsyntax/ext/deriving/cmp/totaleq.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use std::prelude::*;
-
 use ast::{meta_item, item, expr};
 use codemap::span;
 use ext::base::ExtCtxt;