File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,19 @@ const MICROS_PER_SEC: u64 = 1_000_000;
2424const MAX_NANOS_F64 : f64 = ( ( u64:: MAX as u128 + 1 ) * ( NANOS_PER_SEC as u128 ) ) as f64 ;
2525
2626/// The duration of one second.
27- #[ unstable( feature = "duration_constants" , issue = "0 " ) ]
27+ #[ unstable( feature = "duration_constants" , issue = "57391 " ) ]
2828pub const SECOND : Duration = Duration :: from_secs ( 1 ) ;
2929
3030/// The duration of one millisecond.
31- #[ unstable( feature = "duration_constants" , issue = "0 " ) ]
31+ #[ unstable( feature = "duration_constants" , issue = "57391 " ) ]
3232pub const MILLISECOND : Duration = Duration :: from_millis ( 1 ) ;
3333
3434/// The duration of one microsecond.
35- #[ unstable( feature = "duration_constants" , issue = "0 " ) ]
35+ #[ unstable( feature = "duration_constants" , issue = "57391 " ) ]
3636pub const MICROSECOND : Duration = Duration :: from_micros ( 1 ) ;
3737
3838/// The duration of one nanosecond.
39- #[ unstable( feature = "duration_constants" , issue = "0 " ) ]
39+ #[ unstable( feature = "duration_constants" , issue = "57391 " ) ]
4040pub const NANOSECOND : Duration = Duration :: from_nanos ( 1 ) ;
4141
4242/// A `Duration` type to represent a span of time, typically used for system
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ use sys_common::FromInner;
2121#[ stable( feature = "time" , since = "1.3.0" ) ]
2222pub use core:: time:: Duration ;
2323
24- #[ unstable( feature = "duration_constants" , issue = "0 " ) ]
24+ #[ unstable( feature = "duration_constants" , issue = "57391 " ) ]
2525pub use core:: time:: { SECOND , MILLISECOND , MICROSECOND , NANOSECOND } ;
2626
2727/// A measurement of a monotonically nondecreasing clock.
You can’t perform that action at this time.
0 commit comments