about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPyry Kontio <pyry.kontio@drasa.eu>2022-05-02 23:29:02 +0900
committerPyry Kontio <pyry.kontio@drasa.eu>2022-05-02 23:29:02 +0900
commitdea776512b07469092ee98e8c3d4543c6f377729 (patch)
treebfb37acdfd787809187591d47d6dedae61d3a600
parent7175c499ecc32cb3ff713be0bbac9fd12990a34e (diff)
downloadrust-dea776512b07469092ee98e8c3d4543c6f377729.tar.gz
rust-dea776512b07469092ee98e8c3d4543c6f377729.zip
Fix nits
-rw-r--r--library/core/src/num/f32.rs8
-rw-r--r--library/core/src/num/f64.rs8
-rw-r--r--library/std/src/f32.rs2
-rw-r--r--library/std/src/f64.rs2
4 files changed, 10 insertions, 10 deletions
diff --git a/library/core/src/num/f32.rs b/library/core/src/num/f32.rs
index e3d40b58a38..74d337f1dc0 100644
--- a/library/core/src/num/f32.rs
+++ b/library/core/src/num/f32.rs
@@ -747,8 +747,8 @@ impl f32 {
     /// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
     /// Note that this follows the semantics specified in IEEE 754-2019.
     ///
-    /// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
-    /// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
+    /// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
+    /// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
     #[must_use = "this returns the result of the comparison, without modifying either input"]
     #[unstable(feature = "float_minimum_maximum", issue = "91079")]
     #[inline]
@@ -782,8 +782,8 @@ impl f32 {
     /// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
     /// Note that this follows the semantics specified in IEEE 754-2019.
     ///
-    /// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
-    /// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
+    /// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
+    /// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
     #[must_use = "this returns the result of the comparison, without modifying either input"]
     #[unstable(feature = "float_minimum_maximum", issue = "91079")]
     #[inline]
diff --git a/library/core/src/num/f64.rs b/library/core/src/num/f64.rs
index 51ccf7e8554..c8ce6f0e3a8 100644
--- a/library/core/src/num/f64.rs
+++ b/library/core/src/num/f64.rs
@@ -763,8 +763,8 @@ impl f64 {
     /// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
     /// Note that this follows the semantics specified in IEEE 754-2019.
     ///
-    /// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
-    /// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
+    /// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
+    /// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
     #[must_use = "this returns the result of the comparison, without modifying either input"]
     #[unstable(feature = "float_minimum_maximum", issue = "91079")]
     #[inline]
@@ -798,8 +798,8 @@ impl f64 {
     /// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
     /// Note that this follows the semantics specified in IEEE 754-2019.
     ///
-    /// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
-    /// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
+    /// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
+    /// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
     #[must_use = "this returns the result of the comparison, without modifying either input"]
     #[unstable(feature = "float_minimum_maximum", issue = "91079")]
     #[inline]
diff --git a/library/std/src/f32.rs b/library/std/src/f32.rs
index 469db1b7c28..4cf234a527d 100644
--- a/library/std/src/f32.rs
+++ b/library/std/src/f32.rs
@@ -302,7 +302,7 @@ impl f32 {
     /// Raises a number to an integer power.
     ///
     /// Using this function is generally faster than using `powf`.
-    /// It might have different sequence of rounding operations than `powf`,
+    /// It might have a different sequence of rounding operations than `powf`,
     /// so the results are not guaranteed to agree.
     ///
     /// # Examples
diff --git a/library/std/src/f64.rs b/library/std/src/f64.rs
index a291a777e55..d28bd386c2a 100644
--- a/library/std/src/f64.rs
+++ b/library/std/src/f64.rs
@@ -302,7 +302,7 @@ impl f64 {
     /// Raises a number to an integer power.
     ///
     /// Using this function is generally faster than using `powf`.
-    /// It might have different sequence of rounding operations than `powf`,
+    /// It might have a different sequence of rounding operations than `powf`,
     /// so the results are not guaranteed to agree.
     ///
     /// # Examples