minor formatting (too many newlines)
This commit is contained in:
parent
7b8216276b
commit
ccefe73206
@ -472,14 +472,14 @@ impl Display for Content {
|
||||
Self::Item(a) => {
|
||||
let mut ret = String::new();
|
||||
for aa in a {
|
||||
ret.push_str(&format!("{aa}\n"));
|
||||
ret.push_str(&format!("{aa}"));
|
||||
}
|
||||
f.write_str(&ret)
|
||||
}
|
||||
Self::List(a) => {
|
||||
let mut ret = String::new();
|
||||
for aa in a {
|
||||
ret.push_str(&format!("{aa}\n"));
|
||||
ret.push_str(&format!("{aa}"));
|
||||
}
|
||||
f.write_str(&ret)
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ impl From<roxmltree::Error> for Error {
|
||||
|
||||
fn main() {
|
||||
env_logger::init();
|
||||
let law = LawBuilder::new("ABGB");
|
||||
let law = LawBuilder::new("MSchG");
|
||||
|
||||
law.to_md();
|
||||
//println!("{:#?}", builder.toc());
|
||||
|
Loading…
Reference in New Issue
Block a user