Closed leonardolang closed 4 years ago
A panic can occur if SystemTime::now() returns a time earlier than the one found in the registry. Perform a checked_sub and return a zero Duration in this situation.
SystemTime::now()
Thanks for the fix!
A panic can occur if
SystemTime::now()
returns a time earlier than the one found in the registry. Perform a checked_sub and return a zero Duration in this situation.