section-config: clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
7b1aad429f
commit
064791e565
@ -899,11 +899,14 @@ pub fn dump_section_config(config: &SectionConfig) -> String {
|
||||
};
|
||||
|
||||
if plugin_count > 1 {
|
||||
use std::fmt::Write as _;
|
||||
|
||||
let description = wrap_text("", "", properties.description(), 80);
|
||||
res.push_str(&format!(
|
||||
let _ = write!(
|
||||
res,
|
||||
"\n**Section type** \'``{}``\': {}\n\n",
|
||||
name, description
|
||||
));
|
||||
);
|
||||
}
|
||||
|
||||
res.push_str(&dump_properties(
|
||||
|
Loading…
Reference in New Issue
Block a user