From 3e8fea612dd8ab8d03aaa264652ced97b800bb91 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Tue, 9 May 2023 20:35:03 +0200 Subject: [PATCH] Fix config formatting, less indenting, more spacing --- clippy_lints/src/lib.rs | 4 ++-- 1 file 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); } } },