Fix clippy lints.
This commit is contained in:
parent
63dcba03b2
commit
637c3eadd7
20 changed files with 56 additions and 75 deletions
|
|
@ -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,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue