Skip to content

Commit c3bd5cd

Browse files
Urgaugitbot
authored and
gitbot
committed
Fix f16::midpoint const feature gate
1 parent a64eea1 commit c3bd5cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)