mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
run rustfmt
This commit is contained in:
parent
73259d68db
commit
113ae891d9
3 changed files with 8 additions and 3 deletions
|
@ -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(),
|
||||
|
|
|
@ -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");
|
||||
};
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue