parsers: rustfmt

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-04-02 22:45:20 +02:00
commit fd158d9a08
12 changed files with 114 additions and 101 deletions

View file

@ -454,8 +454,7 @@ impl From<Tag> for Element {
panic!("No unknown element should be present in XHTML-IM after parsing.")
}
};
let mut builder = Element::builder(name, ns::XHTML)
.append_all(children_to_nodes(children));
let mut builder = Element::builder(name, ns::XHTML).append_all(children_to_nodes(children));
for (key, value) in attrs {
builder = builder.attr(key, value);
}