We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dae90c1 commit 58ae4a9Copy full SHA for 58ae4a9
src/libcore/time.rs
@@ -152,7 +152,6 @@ impl Duration {
152
/// ```
153
#[stable(feature = "duration", since = "1.3.0")]
154
#[inline]
155
- #[rustc_promotable]
156
#[rustc_const_stable(feature = "duration_consts", since = "1.32.0")]
157
pub const fn from_secs(secs: u64) -> Duration {
158
Duration { secs, nanos: 0 }
0 commit comments