File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,6 @@ impl Duration {
172
172
/// ```
173
173
#[ stable( feature = "duration" , since = "1.3.0" ) ]
174
174
#[ inline]
175
- #[ rustc_promotable]
176
175
#[ rustc_const_stable( feature = "duration_consts" , since = "1.32.0" ) ]
177
176
pub const fn from_millis ( millis : u64 ) -> Duration {
178
177
Duration {
@@ -195,7 +194,6 @@ impl Duration {
195
194
/// ```
196
195
#[ stable( feature = "duration_from_micros" , since = "1.27.0" ) ]
197
196
#[ inline]
198
- #[ rustc_promotable]
199
197
#[ rustc_const_stable( feature = "duration_consts" , since = "1.32.0" ) ]
200
198
pub const fn from_micros ( micros : u64 ) -> Duration {
201
199
Duration {
@@ -218,7 +216,6 @@ impl Duration {
218
216
/// ```
219
217
#[ stable( feature = "duration_extras" , since = "1.27.0" ) ]
220
218
#[ inline]
221
- #[ rustc_promotable]
222
219
#[ rustc_const_stable( feature = "duration_consts" , since = "1.32.0" ) ]
223
220
pub const fn from_nanos ( nanos : u64 ) -> Duration {
224
221
Duration {
You can’t perform that action at this time.
0 commit comments