Fix clippy lints.
This commit is contained in:
parent
63dcba03b2
commit
637c3eadd7
20 changed files with 56 additions and 75 deletions
|
|
@ -86,8 +86,8 @@ impl TryFrom<Element> for Identity {
|
|||
}
|
||||
|
||||
Ok(Identity {
|
||||
category: category,
|
||||
type_: type_,
|
||||
category,
|
||||
type_,
|
||||
lang: get_attr!(elem, "xml:lang", optional),
|
||||
name: get_attr!(elem, "name", optional),
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue