Skip to content

Commit 72297d4

Browse files
committed
Fix f16::midpoint const feature gate
1 parent 3bff51e commit 72297d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)