Skip to content

Commit

Permalink
run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
yaahc committed Jun 12, 2019
1 parent 73259d6 commit 113ae89
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clippy_dev/src/main.rs
Expand Up @@ -102,8 +102,8 @@ fn update_lints(update_mode: &UpdateMode) {
pub mod lint;
pub use lint::Lint;
pub use lint::LINT_LEVELS;
pub use lint::LintLevel;
pub use lint::LINT_LEVELS;
pub const ALL_LINTS: [Lint; {}] = {:#?};\n",
sorted_usable_lints.len(),
Expand Down
7 changes: 6 additions & 1 deletion src/driver.rs
Expand Up @@ -166,7 +166,12 @@ Available lint options:
let print_lints = |lints: &[&Lint]| {
for lint in lints {
let name = lint.name.replace("_", "-");
println!(" {} {:7.7} {}", padded(&scoped(&name)), lint_level(lint), lint.desc);
println!(
" {} {:7.7} {}",
padded(&scoped(&name)),
lint_level(lint),
lint.desc
);
}
println!("\n");
};
Expand Down
2 changes: 1 addition & 1 deletion src/lintlist/mod.rs
Expand Up @@ -2,8 +2,8 @@

pub mod lint;
pub use lint::Lint;
pub use lint::LINT_LEVELS;
pub use lint::LintLevel;
pub use lint::LINT_LEVELS;

pub const ALL_LINTS: [Lint; 304] = [
Lint {
Expand Down

0 comments on commit 113ae89

Please sign in to comment.