parsers: clippy run

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2025-04-07 21:53:22 +02:00
commit 1b635854ad
8 changed files with 21 additions and 20 deletions

View file

@ -19,7 +19,7 @@ pub struct Xep0082;
impl TextCodec<ChronoDateTime<FixedOffset>> for Xep0082 {
fn decode(&self, s: String) -> Result<ChronoDateTime<FixedOffset>, Error> {
Ok(ChronoDateTime::parse_from_rfc3339(&s).map_err(Error::text_parse_error)?)
ChronoDateTime::parse_from_rfc3339(&s).map_err(Error::text_parse_error)
}
fn encode<'x>(