1
Fork 0

Stabilize duration_checked_float

Tracking issue:

- https://github.com/rust-lang/rust/issues/83400
This commit is contained in:
Ryan Lopopolo 2022-09-25 09:52:44 -07:00
parent b8c35ca26b
commit 95040a70d7
No known key found for this signature in database
GPG key ID: 46047D739B6AE0B1
5 changed files with 21 additions and 26 deletions

View file

@ -43,8 +43,8 @@ use crate::sys_common::{FromInner, IntoInner};
#[stable(feature = "time", since = "1.3.0")]
pub use core::time::Duration;
#[unstable(feature = "duration_checked_float", issue = "83400")]
pub use core::time::FromFloatSecsError;
#[stable(feature = "duration_checked_float", since = "CURRENT_RUSTC_VERSION")]
pub use core::time::TryFromFloatSecsError;
/// A measurement of a monotonically nondecreasing clock.
/// Opaque and useful only with [`Duration`].