diff options
| author | Артём Павлов [Artyom Pavlov] <newpavlov@gmail.com> | 2022-01-26 18:14:25 +0300 |
|---|---|---|
| committer | Артём Павлов [Artyom Pavlov] <newpavlov@gmail.com> | 2022-01-26 18:14:25 +0300 |
| commit | e0bcf771d6e670988a3d4fdc785ecd5857916f10 (patch) | |
| tree | 4b0d52ab19d5df71fd5b69f13784fee0aea40c04 /library/std/src/time.rs | |
| parent | 788b1fe5b79a8b74215022f9df49b0eae68a50b9 (diff) | |
| download | rust-e0bcf771d6e670988a3d4fdc785ecd5857916f10.tar.gz rust-e0bcf771d6e670988a3d4fdc785ecd5857916f10.zip | |
Improve Duration::try_from_secs_f32/64 accuracy by directly processing exponent and mantissa
Diffstat (limited to 'library/std/src/time.rs')
| -rw-r--r-- | library/std/src/time.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs index b6867e68df7..b4f9d8ea28d 100644 --- a/library/std/src/time.rs +++ b/library/std/src/time.rs @@ -45,7 +45,7 @@ use crate::sys_common::FromInner; pub use core::time::Duration; #[unstable(feature = "duration_checked_float", issue = "83400")] -pub use core::time::FromSecsError; +pub use core::time::FromFloatSecsError; /// A measurement of a monotonically nondecreasing clock. /// Opaque and useful only with [`Duration`]. |
