-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#439) * Check for overflow in `{Duration,Timestamp}::normalize`. * Check for overflow when converting `Timestamp` to `SystemTime`. Whether or not such an overflow is possible depends on the platform. It does not appear possible on `x86_64-unknown-linux-gnu` (which represents time with a 64-bit signed integer for seconds, same as `Timestamp`), but it is possible on `i686-unknown-linux-gnu` (which represents time with a 32-bit signed integer for seconds) and `x86_64-pc-windows-msvc` (which has a different representation of time altogether). * Add documentation for `TimestampOutOfSystemRangeError`. * Apply rustfmt. Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
- Loading branch information
1 parent
0833d46
commit 59f2a73
Showing
1 changed file
with
264 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters