mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 15:26:12 +00:00
Replace try!
macro with question mark
This commit is contained in:
parent
3467172c31
commit
118c980d88
@ -1485,8 +1485,7 @@ pub mod serde {
|
|||||||
where
|
where
|
||||||
D: de::Deserializer<'de>,
|
D: de::Deserializer<'de>,
|
||||||
{
|
{
|
||||||
#[allow(deprecated)]
|
Ok(d.deserialize_i64(MicroSecondsTimestampVisitor)?)
|
||||||
Ok(try!(d.deserialize_i64(MicroSecondsTimestampVisitor)))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct MicroSecondsTimestampVisitor;
|
struct MicroSecondsTimestampVisitor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user