1 Like
Why would it when Duration { secs, nanos: 0 }
is a very straight-forward implementation? Not to mention, Duration::from_millis(secs * MILLIS_PER_SEC)
wouldn't even work because that multiplication could overflow.
6 Likes
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.