mirror of
https://github.com/chronotope/chrono.git
synced 2025-09-28 05:21:39 +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
|
||||
D: de::Deserializer<'de>,
|
||||
{
|
||||
#[allow(deprecated)]
|
||||
Ok(try!(d.deserialize_i64(MicroSecondsTimestampVisitor)))
|
||||
Ok(d.deserialize_i64(MicroSecondsTimestampVisitor)?)
|
||||
}
|
||||
|
||||
struct MicroSecondsTimestampVisitor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user