Skip to content

Commit e9b5839

Browse files
committedDec 31, 2016
Style fixes
1 parent 22f788c commit e9b5839

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed
 

Diff for: ‎src/librustc_resolve/macros.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ use syntax::ext::expand::{Expansion, mark_tts};
2828
use syntax::ext::hygiene::Mark;
2929
use syntax::ext::tt::macro_rules;
3030
use syntax::feature_gate::{emit_feature_err, GateIssue};
31-
use syntax::fold::Folder;
32-
use syntax::fold;
31+
use syntax::fold::{self, Folder};
3332
use syntax::ptr::P;
3433
use syntax::symbol::keywords;
3534
use syntax::util::lev_distance::find_best_match_for_name;

Diff for: ‎src/libsyntax_ext/deriving/custom.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ impl<'a> Visitor<'a> for MarkAttrs<'a> {
2929
}
3030
}
3131

32-
fn visit_mac(&mut self, _mac: &Mac) {
33-
}
32+
fn visit_mac(&mut self, _mac: &Mac) {}
3433
}
3534

3635
pub struct CustomDerive {

Diff for: ‎src/test/run-pass-fulldeps/proc-macro/struct-field-macro.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ struct S {
2525
x: int!(),
2626
}
2727

28-
fn main() {
29-
}
28+
fn main() {}

0 commit comments

Comments
 (0)
Please sign in to comment.