mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
Merge pull request #974 from sanxiyn/unused-trait-import
Remove unused trait imports
This commit is contained in:
commit
47631e2a5c
@ -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;
|
||||
|
||||
|
||||
|
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user