Skip to content

Commit 113ae89

Browse files
committed
run rustfmt
1 parent 73259d6 commit 113ae89

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

clippy_dev/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ fn update_lints(update_mode: &UpdateMode) {
102102
103103
pub mod lint;
104104
pub use lint::Lint;
105-
pub use lint::LINT_LEVELS;
106105
pub use lint::LintLevel;
106+
pub use lint::LINT_LEVELS;
107107
108108
pub const ALL_LINTS: [Lint; {}] = {:#?};\n",
109109
sorted_usable_lints.len(),

src/driver.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,12 @@ Available lint options:
166166
let print_lints = |lints: &[&Lint]| {
167167
for lint in lints {
168168
let name = lint.name.replace("_", "-");
169-
println!(" {} {:7.7} {}", padded(&scoped(&name)), lint_level(lint), lint.desc);
169+
println!(
170+
" {} {:7.7} {}",
171+
padded(&scoped(&name)),
172+
lint_level(lint),
173+
lint.desc
174+
);
170175
}
171176
println!("\n");
172177
};

src/lintlist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
33
pub mod lint;
44
pub use lint::Lint;
5-
pub use lint::LINT_LEVELS;
65
pub use lint::LintLevel;
6+
pub use lint::LINT_LEVELS;
77

88
pub const ALL_LINTS: [Lint; 304] = [
99
Lint {

0 commit comments

Comments
 (0)