parsers: clippy run
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
4c2fac0ac3
commit
1b635854ad
8 changed files with 21 additions and 20 deletions
|
|
@ -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>(
|
||||
|
|
|
|||
Loading…
Reference in a new issue