Comment section headers in generated example config. (fixes #96)
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
7f1c7b964e
commit
36c3845ff6
2 changed files with 9 additions and 9 deletions
|
|
@ -73,7 +73,7 @@ fn generate_example(input: &ItemStruct, args: &[Meta], write: bool) -> Result<To
|
|||
.expect("written to config file");
|
||||
}
|
||||
|
||||
file.write_fmt(format_args!("\n[{section}]\n"))
|
||||
file.write_fmt(format_args!("\n#[{section}]\n"))
|
||||
.expect("written to config file");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue