Fix clippy lints.

This commit is contained in:
Emmanuel Gil Peyrot 2019-02-21 21:00:58 +01:00
commit 637c3eadd7
20 changed files with 56 additions and 75 deletions

View file

@ -258,11 +258,11 @@ impl TryFrom<Element> for StanzaError {
defined_condition.ok_or(Error::ParseError("Error must have a defined-condition."))?;
Ok(StanzaError {
type_: type_,
by: by,
defined_condition: defined_condition,
texts: texts,
other: other,
type_,
by,
defined_condition,
texts,
other,
})
}
}