xso: Fix all failing clippy tests
They are all sensible to me. skip-changelog: Internal changes.
This commit is contained in:
parent
5cbe5936a6
commit
356ad0d46e
5 changed files with 10 additions and 11 deletions
|
|
@ -76,7 +76,7 @@ impl Error {
|
|||
impl From<&Error> for Error {
|
||||
fn from(other: &Error) -> Self {
|
||||
match other {
|
||||
Self::XmlError(e) => Self::XmlError(e.clone()),
|
||||
Self::XmlError(e) => Self::XmlError(*e),
|
||||
Self::TextParseError(e) => Self::TextParseError(Box::new(OpaqueError(e.to_string()))),
|
||||
Self::Other(e) => Self::Other(e),
|
||||
Self::TypeMismatch => Self::TypeMismatch,
|
||||
|
|
|
|||
Loading…
Reference in a new issue