minidom: rustfmt

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-04-02 22:42:28 +02:00
commit fa8b9ed199
5 changed files with 64 additions and 37 deletions

View file

@ -80,10 +80,7 @@ impl std::fmt::Display for Error {
}
Error::InvalidElement => write!(fmt, "the XML element is invalid"),
Error::InvalidPrefix => write!(fmt, "the prefix is invalid"),
Error::MissingNamespace => write!(
fmt,
"the XML element is missing a namespace",
),
Error::MissingNamespace => write!(fmt, "the XML element is missing a namespace",),
Error::NoComments => write!(
fmt,
"a comment has been found even though comments are forbidden"