Add more linespace between example config sections.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -73,8 +73,8 @@ fn generate_example(input: &ItemStruct, args: &[Meta], write: bool) -> Result<To
|
||||
.expect("written to config file");
|
||||
}
|
||||
|
||||
let pound = if section != "global" { "#" } else { "" };
|
||||
file.write_fmt(format_args!("\n{pound}[{section}]\n"))
|
||||
let pound = if section != "global" { "\n#" } else { "" };
|
||||
file.write_fmt(format_args!("\n\n{pound}[{section}]\n"))
|
||||
.expect("written to config file");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user