Skip to content

Commit dea7765

Browse files
committed
Fix nits
1 parent 7175c49 commit dea7765

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

library/core/src/num/f32.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -747,8 +747,8 @@ impl f32 {
747747
/// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
748748
/// Note that this follows the semantics specified in IEEE 754-2019.
749749
///
750-
/// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
751-
/// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
750+
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
751+
/// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
752752
#[must_use = "this returns the result of the comparison, without modifying either input"]
753753
#[unstable(feature = "float_minimum_maximum", issue = "91079")]
754754
#[inline]
@@ -782,8 +782,8 @@ impl f32 {
782782
/// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
783783
/// Note that this follows the semantics specified in IEEE 754-2019.
784784
///
785-
/// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
786-
/// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
785+
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
786+
/// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
787787
#[must_use = "this returns the result of the comparison, without modifying either input"]
788788
#[unstable(feature = "float_minimum_maximum", issue = "91079")]
789789
#[inline]

library/core/src/num/f64.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,8 @@ impl f64 {
763763
/// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
764764
/// Note that this follows the semantics specified in IEEE 754-2019.
765765
///
766-
/// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
767-
/// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
766+
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
767+
/// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
768768
#[must_use = "this returns the result of the comparison, without modifying either input"]
769769
#[unstable(feature = "float_minimum_maximum", issue = "91079")]
770770
#[inline]
@@ -798,8 +798,8 @@ impl f64 {
798798
/// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
799799
/// Note that this follows the semantics specified in IEEE 754-2019.
800800
///
801-
/// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
802-
/// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
801+
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
802+
/// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
803803
#[must_use = "this returns the result of the comparison, without modifying either input"]
804804
#[unstable(feature = "float_minimum_maximum", issue = "91079")]
805805
#[inline]

library/std/src/f32.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ impl f32 {
302302
/// Raises a number to an integer power.
303303
///
304304
/// Using this function is generally faster than using `powf`.
305-
/// It might have different sequence of rounding operations than `powf`,
305+
/// It might have a different sequence of rounding operations than `powf`,
306306
/// so the results are not guaranteed to agree.
307307
///
308308
/// # Examples

library/std/src/f64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ impl f64 {
302302
/// Raises a number to an integer power.
303303
///
304304
/// Using this function is generally faster than using `powf`.
305-
/// It might have different sequence of rounding operations than `powf`,
305+
/// It might have a different sequence of rounding operations than `powf`,
306306
/// so the results are not guaranteed to agree.
307307
///
308308
/// # Examples

0 commit comments

Comments
 (0)