@@ -260,7 +260,6 @@ macro_rules! impl_Display {
260260 /// # Examples
261261 ///
262262 /// ```
263- /// #![feature(int_format_into)]
264263 /// use core::fmt::NumBuffer;
265264 ///
266265 #[ doc = concat!( "let n = 0" , stringify!( $Signed) , ";" ) ]
@@ -273,7 +272,7 @@ macro_rules! impl_Display {
273272 #[ doc = concat!( "let n2 = " , stringify!( $Signed:: MAX ) , ";" ) ]
274273 #[ doc = concat!( "assert_eq!(n2.format_into(&mut buf), " , stringify!( $Signed:: MAX ) , ".to_string());" ) ]
275274 /// ```
276- #[ unstable ( feature = "int_format_into" , issue = "138215 " ) ]
275+ #[ stable ( feature = "int_format_into" , since = "CURRENT_RUSTC_VERSION " ) ]
277276 pub fn format_into( self , buf: & mut NumBuffer <Self >) -> & str {
278277 let mut offset;
279278
@@ -305,7 +304,6 @@ macro_rules! impl_Display {
305304 /// # Examples
306305 ///
307306 /// ```
308- /// #![feature(int_format_into)]
309307 /// use core::fmt::NumBuffer;
310308 ///
311309 #[ doc = concat!( "let n = 0" , stringify!( $Unsigned) , ";" ) ]
@@ -318,7 +316,7 @@ macro_rules! impl_Display {
318316 #[ doc = concat!( "let n2 = " , stringify!( $Unsigned:: MAX ) , ";" ) ]
319317 #[ doc = concat!( "assert_eq!(n2.format_into(&mut buf), " , stringify!( $Unsigned:: MAX ) , ".to_string());" ) ]
320318 /// ```
321- #[ unstable ( feature = "int_format_into" , issue = "138215 " ) ]
319+ #[ stable ( feature = "int_format_into" , since = "CURRENT_RUSTC_VERSION " ) ]
322320 pub fn format_into( self , buf: & mut NumBuffer <Self >) -> & str {
323321 let offset;
324322
@@ -744,7 +742,6 @@ impl u128 {
744742 /// # Examples
745743 ///
746744 /// ```
747- /// #![feature(int_format_into)]
748745 /// use core::fmt::NumBuffer;
749746 ///
750747 /// let n = 0u128;
@@ -759,7 +756,7 @@ impl u128 {
759756 /// let mut buf2 = NumBuffer::new();
760757 /// assert_eq!(n2.format_into(&mut buf2), u128::MAX.to_string());
761758 /// ```
762- #[ unstable ( feature = "int_format_into" , issue = "138215 " ) ]
759+ #[ stable ( feature = "int_format_into" , since = "CURRENT_RUSTC_VERSION " ) ]
763760 pub fn format_into ( self , buf : & mut NumBuffer < Self > ) -> & str {
764761 let diff = buf. capacity ( ) - U128_MAX_DEC_N ;
765762 // FIXME: Once const generics are better, use `NumberBufferTrait::BUF_SIZE` as generic const
@@ -779,7 +776,6 @@ impl i128 {
779776 /// # Examples
780777 ///
781778 /// ```
782- /// #![feature(int_format_into)]
783779 /// use core::fmt::NumBuffer;
784780 ///
785781 /// let n = 0i128;
@@ -792,7 +788,7 @@ impl i128 {
792788 /// let n2 = i128::MAX;
793789 /// assert_eq!(n2.format_into(&mut buf), i128::MAX.to_string());
794790 /// ```
795- #[ unstable ( feature = "int_format_into" , issue = "138215 " ) ]
791+ #[ stable ( feature = "int_format_into" , since = "CURRENT_RUSTC_VERSION " ) ]
796792 pub fn format_into ( self , buf : & mut NumBuffer < Self > ) -> & str {
797793 let diff = buf. capacity ( ) - U128_MAX_DEC_N ;
798794 // FIXME: Once const generics are better, use `NumberBufferTrait::BUF_SIZE` as generic const
0 commit comments