@@ -910,7 +910,7 @@ impl f128 {
910
910
/// ```
911
911
#[ inline]
912
912
#[ unstable( feature = "f128" , issue = "116909" ) ]
913
- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
913
+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
914
914
#[ must_use = "this returns the result of the operation, without modifying the original" ]
915
915
pub const fn to_bits ( self ) -> u128 {
916
916
// SAFETY: `u128` is a plain old datatype so we can always transmute to it.
@@ -959,7 +959,7 @@ impl f128 {
959
959
#[ inline]
960
960
#[ must_use]
961
961
#[ unstable( feature = "f128" , issue = "116909" ) ]
962
- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
962
+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
963
963
pub const fn from_bits ( v : u128 ) -> Self {
964
964
// It turns out the safety issues with sNaN were overblown! Hooray!
965
965
// SAFETY: `u128` is a plain old datatype so we can always transmute from it.
@@ -986,7 +986,7 @@ impl f128 {
986
986
/// ```
987
987
#[ inline]
988
988
#[ unstable( feature = "f128" , issue = "116909" ) ]
989
- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
989
+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
990
990
#[ must_use = "this returns the result of the operation, without modifying the original" ]
991
991
pub const fn to_be_bytes ( self ) -> [ u8 ; 16 ] {
992
992
self . to_bits ( ) . to_be_bytes ( )
@@ -1012,7 +1012,7 @@ impl f128 {
1012
1012
/// ```
1013
1013
#[ inline]
1014
1014
#[ unstable( feature = "f128" , issue = "116909" ) ]
1015
- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1015
+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
1016
1016
#[ must_use = "this returns the result of the operation, without modifying the original" ]
1017
1017
pub const fn to_le_bytes ( self ) -> [ u8 ; 16 ] {
1018
1018
self . to_bits ( ) . to_le_bytes ( )
@@ -1049,7 +1049,7 @@ impl f128 {
1049
1049
/// ```
1050
1050
#[ inline]
1051
1051
#[ unstable( feature = "f128" , issue = "116909" ) ]
1052
- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1052
+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
1053
1053
#[ must_use = "this returns the result of the operation, without modifying the original" ]
1054
1054
pub const fn to_ne_bytes ( self ) -> [ u8 ; 16 ] {
1055
1055
self . to_bits ( ) . to_ne_bytes ( )
@@ -1077,7 +1077,7 @@ impl f128 {
1077
1077
#[ inline]
1078
1078
#[ must_use]
1079
1079
#[ unstable( feature = "f128" , issue = "116909" ) ]
1080
- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1080
+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
1081
1081
pub const fn from_be_bytes ( bytes : [ u8 ; 16 ] ) -> Self {
1082
1082
Self :: from_bits ( u128:: from_be_bytes ( bytes) )
1083
1083
}
@@ -1104,7 +1104,7 @@ impl f128 {
1104
1104
#[ inline]
1105
1105
#[ must_use]
1106
1106
#[ unstable( feature = "f128" , issue = "116909" ) ]
1107
- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1107
+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
1108
1108
pub const fn from_le_bytes ( bytes : [ u8 ; 16 ] ) -> Self {
1109
1109
Self :: from_bits ( u128:: from_le_bytes ( bytes) )
1110
1110
}
@@ -1141,7 +1141,7 @@ impl f128 {
1141
1141
#[ inline]
1142
1142
#[ must_use]
1143
1143
#[ unstable( feature = "f128" , issue = "116909" ) ]
1144
- #[ rustc_const_unstable( feature = "f128_const " , issue = "116909" ) ]
1144
+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909" ) ]
1145
1145
pub const fn from_ne_bytes ( bytes : [ u8 ; 16 ] ) -> Self {
1146
1146
Self :: from_bits ( u128:: from_ne_bytes ( bytes) )
1147
1147
}
0 commit comments