about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2020-05-23 07:29:22 -0400
committerJake Goulding <jake.goulding@gmail.com>2020-05-23 07:29:22 -0400
commit749d9e7a26a29b5689f2daaaa9b89f654b2862af (patch)
tree29c5e3c4335e9d327100153323848ce827227fe8 /src/libstd
parent75b0a68f35a06fc7aed8aa95831df8eace4afffb (diff)
downloadrust-749d9e7a26a29b5689f2daaaa9b89f654b2862af.tar.gz
rust-749d9e7a26a29b5689f2daaaa9b89f654b2862af.zip
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