Merge pull request #974 from sanxiyn/unused-trait-import

Remove unused trait imports
This commit is contained in:
Nick Cameron 2016-05-04 08:32:26 +12:00
commit 47631e2a5c
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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> {