We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e73bd1 commit 17234dbCopy full SHA for 17234db
library/core/src/time.rs
@@ -146,7 +146,7 @@ impl Duration {
146
///
147
/// assert_eq!(Duration::MAX, Duration::new(u64::MAX, 1_000_000_000 - 1));
148
/// ```
149
- #[unstable(feature = "duration_constants", issue = "57391")]
+ #[stable(feature = "duration_saturating_ops", since = "1.53.0")]
150
pub const MAX: Duration = Duration::new(u64::MAX, NANOS_PER_SEC - 1);
151
152
/// Creates a new `Duration` from the specified number of whole seconds and
0 commit comments