xso{,-proc}: clippy
This doesn't fix all of the clippy warnings in these crates. There are decisions that needs to be made in there that I'm not willing to make. Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
9595ffe2c2
commit
00b638fc38
4 changed files with 18 additions and 9 deletions
|
|
@ -112,7 +112,7 @@ impl<'x> Context<'x> {
|
|||
/// Return the `xml:lang` value in effect at the end of the event which
|
||||
/// is currently being processed.
|
||||
pub fn language(&self) -> Option<&str> {
|
||||
self.language.as_deref()
|
||||
self.language
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue