You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use speedy::Readable;let _ = std::time::Duration::read_from_buffer(&[255;12]);
Results in thread 'main' panicked at 'overflow in Duration::new. Could fix by checking nanos < 1_000_000_000 before calling Duration::new in speedy::Readable since speedy::Writable uses Duration::subsec_nanos which always meets that requirement.
The text was updated successfully, but these errors were encountered:
Results in
thread 'main' panicked at 'overflow in Duration::new
. Could fix by checkingnanos < 1_000_000_000
before callingDuration::new
inspeedy::Readable
sincespeedy::Writable
usesDuration::subsec_nanos
which always meets that requirement.The text was updated successfully, but these errors were encountered: