about summary refs log tree commit diff
path: root/library/core
diff options
context:
space:
mode:
authorgimbles <93856041+gimbles@users.noreply.github.com>2023-03-15 23:55:48 +0530
committergimbles <93856041+gimbles@users.noreply.github.com>2023-03-15 23:55:48 +0530
commite5a5b90afc527dfb87f6034b52b7adca063ca078 (patch)
tree09310f0004bea5e3e0685199a49162acf091d28e /library/core
parente4b9f86054c581d931f8bad0c87523c53e1e8e3f (diff)
downloadrust-e5a5b90afc527dfb87f6034b52b7adca063ca078.tar.gz
rust-e5a5b90afc527dfb87f6034b52b7adca063ca078.zip
unequal → not equal
Diffstat (limited to 'library/core')
-rw-r--r--library/core/src/hash/mod.rs2
-rw-r--r--library/core/src/iter/traits/iterator.rs2
-rw-r--r--library/core/src/primitive_docs.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/hash/mod.rs b/library/core/src/hash/mod.rs
index 71a0d1825ef..3bdde0993b9 100644
--- a/library/core/src/hash/mod.rs
+++ b/library/core/src/hash/mod.rs
@@ -158,7 +158,7 @@ mod sip;
 ///
 /// Implementations of `hash` should ensure that the data they
 /// pass to the `Hasher` are prefix-free. That is,
-/// unequal values should cause two different sequences of values to be written,
+/// values which are not equal should cause two different sequences of values to be written,
 /// and neither of the two sequences should be a prefix of the other.
 ///
 /// For example, the standard implementation of [`Hash` for `&str`][impl] passes an extra
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs
index b8e7d0a68da..e791158e259 100644
--- a/library/core/src/iter/traits/iterator.rs
+++ b/library/core/src/iter/traits/iterator.rs
@@ -3721,7 +3721,7 @@ pub trait Iterator {
         }
     }
 
-    /// Determines if the elements of this [`Iterator`] are unequal to those of
+    /// Determines if the elements of this [`Iterator`] are not equal to those of
     /// another.
     ///
     /// # Examples
diff --git a/library/core/src/primitive_docs.rs b/library/core/src/primitive_docs.rs
index 6f78811a186..e12a3e378a6 100644
--- a/library/core/src/primitive_docs.rs
+++ b/library/core/src/primitive_docs.rs
@@ -1110,7 +1110,7 @@ impl<T: Copy> Copy for (T,) {
 /// - [NaN (not a number)](#associatedconstant.NAN): this value results from
 ///   calculations like `(-1.0).sqrt()`. NaN has some potentially unexpected
 ///   behavior:
-///   - It is unequal to any float, including itself! This is the reason `f32`
+///   - It is not equal to any float, including itself! This is the reason `f32`
 ///     doesn't implement the `Eq` trait.
 ///   - It is also neither smaller nor greater than any float, making it
 ///     impossible to sort by the default comparison operation, which is the