We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9fbd2 commit 56bb933Copy full SHA for 56bb933
library/std/src/f32.rs
@@ -308,7 +308,7 @@ impl f32 {
308
/// let abs_difference = (x.powi(2) - (x * x)).abs();
309
/// assert!(abs_difference <= f32::EPSILON);
310
///
311
- /// assert_eq!(f64::powi(f32::NAN, 0), 1.0);
+ /// assert_eq!(f32::powi(f32::NAN, 0), 1.0);
312
/// ```
313
#[rustc_allow_incoherent_impl]
314
#[must_use = "method returns a new number and does not mutate the original value"]
0 commit comments