@@ -910,7 +910,7 @@ impl f128 {
910910/// ```
911911#[ inline]
912912#[ unstable( feature = "f128" , issue = "116909" ) ]
913- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
913+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
914914#[ must_use = "this returns the result of the operation, without modifying the original" ]
915915pub const fn to_bits ( self ) -> u128 {
916916// SAFETY: `u128` is a plain old datatype so we can always transmute to it.
@@ -959,7 +959,7 @@ impl f128 {
959959#[ inline]
960960#[ must_use]
961961#[ unstable( feature = "f128" , issue = "116909" ) ]
962- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
962+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
963963pub const fn from_bits ( v : u128 ) -> Self {
964964// It turns out the safety issues with sNaN were overblown! Hooray!
965965// SAFETY: `u128` is a plain old datatype so we can always transmute from it.
@@ -986,7 +986,7 @@ impl f128 {
986986/// ```
987987#[ inline]
988988#[ unstable( feature = "f128" , issue = "116909" ) ]
989- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
989+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
990990#[ must_use = "this returns the result of the operation, without modifying the original" ]
991991pub const fn to_be_bytes ( self ) -> [ u8 ; 16 ] {
992992self . to_bits ( ) . to_be_bytes ( )
@@ -1012,7 +1012,7 @@ impl f128 {
10121012/// ```
10131013#[ inline]
10141014#[ unstable( feature = "f128" , issue = "116909" ) ]
1015- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1015+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
10161016#[ must_use = "this returns the result of the operation, without modifying the original" ]
10171017pub const fn to_le_bytes ( self ) -> [ u8 ; 16 ] {
10181018self . to_bits ( ) . to_le_bytes ( )
@@ -1049,7 +1049,7 @@ impl f128 {
10491049/// ```
10501050#[ inline]
10511051#[ unstable( feature = "f128" , issue = "116909" ) ]
1052- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1052+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
10531053#[ must_use = "this returns the result of the operation, without modifying the original" ]
10541054pub const fn to_ne_bytes ( self ) -> [ u8 ; 16 ] {
10551055self . to_bits ( ) . to_ne_bytes ( )
@@ -1077,7 +1077,7 @@ impl f128 {
10771077#[ inline]
10781078#[ must_use]
10791079#[ unstable( feature = "f128" , issue = "116909" ) ]
1080- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1080+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
10811081pub const fn from_be_bytes ( bytes : [ u8 ; 16 ] ) -> Self {
10821082Self :: from_bits ( u128:: from_be_bytes ( bytes) )
10831083}
@@ -1104,7 +1104,7 @@ impl f128 {
11041104#[ inline]
11051105#[ must_use]
11061106#[ unstable( feature = "f128" , issue = "116909" ) ]
1107- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1107+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
11081108pub const fn from_le_bytes ( bytes : [ u8 ; 16 ] ) -> Self {
11091109Self :: from_bits ( u128:: from_le_bytes ( bytes) )
11101110}
@@ -1141,7 +1141,7 @@ impl f128 {
11411141#[ inline]
11421142#[ must_use]
11431143#[ unstable( feature = "f128" , issue = "116909" ) ]
1144- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1144+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
11451145pub const fn from_ne_bytes ( bytes : [ u8 ; 16 ] ) -> Self {
11461146Self :: from_bits ( u128:: from_ne_bytes ( bytes) )
11471147}
0 commit comments