about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-23 19:10:02 +0200
committerGitHub <noreply@github.com>2020-05-23 19:10:02 +0200
commita03bf3f5f5694084a3e84ea6fa2a0f3f189044d6 (patch)
treef8af85f4ef103eff49a78548336f8c2119e1a608 /src/libstd
parente91897d2141afab4ccfe1382daa1bac3316602e0 (diff)
parent749d9e7a26a29b5689f2daaaa9b89f654b2862af (diff)
downloadrust-a03bf3f5f5694084a3e84ea6fa2a0f3f189044d6.tar.gz
rust-a03bf3f5f5694084a3e84ea6fa2a0f3f189044d6.zip
Rollup merge of #72496 - shepmaster:typo, r=Dylan-DPC
Correct small typo: 'not' -> 'note'
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/f32.rs2
-rw-r--r--src/libstd/f64.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/f32.rs b/src/libstd/f32.rs
index 8e743ace99b..deb9eb5b4b0 100644
--- a/src/libstd/f32.rs
+++ b/src/libstd/f32.rs
@@ -882,7 +882,7 @@ impl f32 {
     /// Returns `max` if `self` is greater than `max`, and `min` if `self` is
     /// less than `min`. Otherwise this returns `self`.
     ///
-    /// Not that this function returns NaN if the initial value was NaN as
+    /// Note that this function returns NaN if the initial value was NaN as
     /// well.
     ///
     /// # Panics
diff --git a/src/libstd/f64.rs b/src/libstd/f64.rs
index fe64d27b1ef..b79e550ed26 100644
--- a/src/libstd/f64.rs
+++ b/src/libstd/f64.rs
@@ -884,7 +884,7 @@ impl f64 {
     /// Returns `max` if `self` is greater than `max`, and `min` if `self` is
     /// less than `min`. Otherwise this returns `self`.
     ///
-    /// Not that this function returns NaN if the initial value was NaN as
+    /// Note that this function returns NaN if the initial value was NaN as
     /// well.
     ///
     /// # Panics