Comment section headers in generated example config. (fixes #96)

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-07-04 00:12:07 +00:00
parent 7f1c7b964e
commit 36c3845ff6
2 changed files with 9 additions and 9 deletions

View File

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