diff options
| author | blyxyas <blyxyas@gmail.com> | 2023-05-09 20:35:03 +0200 |
|---|---|---|
| committer | blyxyas <blyxyas@gmail.com> | 2023-05-09 20:35:03 +0200 |
| commit | 3e8fea612dd8ab8d03aaa264652ced97b800bb91 (patch) | |
| tree | a7868c05c49c46e1f98ec14dc8a13b66e98bbde8 | |
| parent | 2a4571d959615cf8e2859a0bb8af66cbd9a8af83 (diff) | |
| download | rust-3e8fea612dd8ab8d03aaa264652ced97b800bb91.tar.gz rust-3e8fea612dd8ab8d03aaa264652ced97b800bb91.zip | |
Fix config formatting, less indenting, more spacing
| -rw-r--r-- | clippy_lints/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 8b88dab6ae6..091f30b78c8 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -483,10 +483,10 @@ pub fn explain(name: &str) { .find_all(|cconf| cconf.lints.contains(&info.lint.name_lower()[8..].to_owned())) { // If it has, print it - println!("### Configuration for {}:", info.lint.name_lower()); + println!("### Configuration for {}:\n", info.lint.name_lower()); for position in config_vec_positions { let conf = &mdconf[position]; - println!(" - {}: {} (default: {})", conf.name, conf.doc, conf.default); + println!(" - {}: {} (default: {})", conf.name, conf.doc, conf.default); } } }, |
