@@ -373,15 +373,15 @@ impl Duration {
373373 /// # Examples
374374 ///
375375 /// ```
376- /// #![feature(duration_constructors_lite)]
377376 /// use std::time::Duration;
378377 ///
379378 /// let duration = Duration::from_hours(6);
380379 ///
381380 /// assert_eq!(6 * 60 * 60, duration.as_secs());
382381 /// assert_eq!(0, duration.subsec_nanos());
383382 /// ```
384- #[ unstable( feature = "duration_constructors_lite" , issue = "140881" ) ]
383+ #[ stable( feature = "duration_constructors_lite" , since = "CURRENT_RUSTC_VERSION" ) ]
384+ #[ rustc_const_stable( feature = "duration_constructors_lite" , since = "CURRENT_RUSTC_VERSION" ) ]
385385 #[ must_use]
386386 #[ inline]
387387 pub const fn from_hours ( hours : u64 ) -> Duration {
@@ -401,15 +401,15 @@ impl Duration {
401401 /// # Examples
402402 ///
403403 /// ```
404- /// #![feature(duration_constructors_lite)]
405404 /// use std::time::Duration;
406405 ///
407406 /// let duration = Duration::from_mins(10);
408407 ///
409408 /// assert_eq!(10 * 60, duration.as_secs());
410409 /// assert_eq!(0, duration.subsec_nanos());
411410 /// ```
412- #[ unstable( feature = "duration_constructors_lite" , issue = "140881" ) ]
411+ #[ stable( feature = "duration_constructors_lite" , since = "CURRENT_RUSTC_VERSION" ) ]
412+ #[ rustc_const_stable( feature = "duration_constructors_lite" , since = "CURRENT_RUSTC_VERSION" ) ]
413413 #[ must_use]
414414 #[ inline]
415415 pub const fn from_mins ( mins : u64 ) -> Duration {
0 commit comments