about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSeo Sanghyeon <sanxiyn@gmail.com>2016-05-03 21:52:55 +0900
committerSeo Sanghyeon <sanxiyn@gmail.com>2016-05-03 21:52:55 +0900
commitf85c603c63d2b6d793fdfd415074255c4d1a28ca (patch)
tree317da503ec22e5d699575e4c006c465787c69b9b /src
parent15d35a04b400144d692ffffa8c82c63acde48451 (diff)
Remove unused trait imports
Diffstat (limited to 'src')
-rw-r--r--src/checkstyle.rs2
-rw-r--r--src/expr.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/checkstyle.rs b/src/checkstyle.rs
index 02e214864fa..c43a37cf813 100644
--- a/src/checkstyle.rs
+++ b/src/checkstyle.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 use rustfmt_diff::{Mismatch, DiffLine};
-use std::io::{self, Write, Read};
+use std::io::{self, Write};
 use config::WriteMode;
 
 
diff --git a/src/expr.rs b/src/expr.rs
index c2d5115ba75..04941c179b3 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -33,7 +33,6 @@ use macros::rewrite_macro;
 use syntax::{ast, ptr};
 use syntax::codemap::{CodeMap, Span, BytePos, mk_sp};
 use syntax::parse::classify;
-use syntax::visit::Visitor;
 
 impl Rewrite for ast::Expr {
     fn rewrite(&self, context: &RewriteContext, width: usize, offset: Indent) -> Option<String> {