Fix clippy lints.
This commit is contained in:
parent
63dcba03b2
commit
637c3eadd7
20 changed files with 56 additions and 75 deletions
|
|
@ -192,8 +192,8 @@ impl TryFrom<Element> for Failure {
|
|||
defined_condition.ok_or(Error::ParseError("Failure must have a defined-condition."))?;
|
||||
|
||||
Ok(Failure {
|
||||
defined_condition: defined_condition,
|
||||
texts: texts,
|
||||
defined_condition,
|
||||
texts,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue