de-promote Duration::from_secs
This commit is contained in:
parent
dae90c1959
commit
58ae4a9a53
1 changed files with 0 additions and 1 deletions
|
|
@ -152,7 +152,6 @@ impl Duration {
|
|||
/// ```
|
||||
#[stable(feature = "duration", since = "1.3.0")]
|
||||
#[inline]
|
||||
#[rustc_promotable]
|
||||
#[rustc_const_stable(feature = "duration_consts", since = "1.32.0")]
|
||||
pub const fn from_secs(secs: u64) -> Duration {
|
||||
Duration { secs, nanos: 0 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue