minor formatting (too many newlines)

This commit is contained in:
philipp 2023-11-06 16:44:31 +01:00
parent 7b8216276b
commit ccefe73206
2 changed files with 3 additions and 3 deletions

View File

@ -472,14 +472,14 @@ impl Display for Content {
Self::Item(a) => { Self::Item(a) => {
let mut ret = String::new(); let mut ret = String::new();
for aa in a { for aa in a {
ret.push_str(&format!("{aa}\n")); ret.push_str(&format!("{aa}"));
} }
f.write_str(&ret) f.write_str(&ret)
} }
Self::List(a) => { Self::List(a) => {
let mut ret = String::new(); let mut ret = String::new();
for aa in a { for aa in a {
ret.push_str(&format!("{aa}\n")); ret.push_str(&format!("{aa}"));
} }
f.write_str(&ret) f.write_str(&ret)
} }

View File

@ -42,7 +42,7 @@ impl From<roxmltree::Error> for Error {
fn main() { fn main() {
env_logger::init(); env_logger::init();
let law = LawBuilder::new("ABGB"); let law = LawBuilder::new("MSchG");
law.to_md(); law.to_md();
//println!("{:#?}", builder.toc()); //println!("{:#?}", builder.toc());