Skip to content

Commit 73f225a

Browse files
Rollup merge of #133763 - Urgau:f16-midpoint-const-feat, r=Amanieu
Fix `f16::midpoint` const feature gate cc #131784 (comment)
2 parents 6f9f17f + 72297d4 commit 73f225a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/f16.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ impl f16 {
803803
/// ```
804804
#[inline]
805805
#[unstable(feature = "f16", issue = "116909")]
806-
#[rustc_const_unstable(feature = "f128", issue = "116909")]
806+
#[rustc_const_unstable(feature = "f16", issue = "116909")]
807807
pub const fn midpoint(self, other: f16) -> f16 {
808808
const LO: f16 = f16::MIN_POSITIVE * 2.;
809809
const HI: f16 = f16::MAX / 2.;

0 commit comments

Comments
 (0)