Fix clippy lints

This commit is contained in:
Emmanuel Gil Peyrot 2019-02-21 21:06:23 +01:00
commit f68826057b
4 changed files with 7 additions and 9 deletions

View file

@ -165,13 +165,11 @@ impl Node {
Node::Element(ref elmt) => elmt.write_to_inner(writer)?,
Node::Text(ref s) => {
writer.write_event(Event::Text(BytesText::from_plain_str(s)))?;
()
},
Node::Comment(ref s) => {
writer.write_event(Event::Comment(BytesText::from_plain_str(s)))?;
()
},
};
}
Ok(())
}