Fix config formatting, less indenting, more spacing

This commit is contained in:
blyxyas 2023-05-09 20:35:03 +02:00
parent 2a4571d959
commit 3e8fea612d
No known key found for this signature in database
GPG Key ID: 4D38170B5A2FC334
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
},