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:
pep 2025-11-01 15:36:04 +01:00
commit 00b638fc38
4 changed files with 18 additions and 9 deletions

View file

@ -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
}
}