File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -1738,11 +1738,11 @@ impl<T: ?Sized + PartialEq> PartialEq for Rc<T> {
17381738
17391739 /// Inequality for two `Rc`s.
17401740 ///
1741- /// Two `Rc`s are unequal if their inner values are unequal .
1741+ /// Two `Rc`s are not equal if their inner values are not equal .
17421742 ///
17431743 /// If `T` also implements `Eq` (implying reflexivity of equality),
17441744 /// two `Rc`s that point to the same allocation are
1745- /// never unequal .
1745+ /// always equal .
17461746 ///
17471747 /// # Examples
17481748 ///
Original file line number Diff line number Diff line change @@ -2475,10 +2475,10 @@ impl<T: ?Sized + PartialEq> PartialEq for Arc<T> {
24752475
24762476 /// Inequality for two `Arc`s.
24772477 ///
2478- /// Two `Arc`s are unequal if their inner values are unequal .
2478+ /// Two `Arc`s are not equal if their inner values are not equal .
24792479 ///
24802480 /// If `T` also implements `Eq` (implying reflexivity of equality),
2481- /// two `Arc`s that point to the same value are never unequal .
2481+ /// two `Arc`s that point to the same value are always equal .
24822482 ///
24832483 /// # Examples
24842484 ///
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ mod sip;
158158///
159159/// Implementations of `hash` should ensure that the data they
160160/// pass to the `Hasher` are prefix-free. That is,
161- /// unequal values should cause two different sequences of values to be written,
161+ /// values which are not equal should cause two different sequences of values to be written,
162162/// and neither of the two sequences should be a prefix of the other.
163163///
164164/// For example, the standard implementation of [`Hash` for `&str`][impl] passes an extra
Original file line number Diff line number Diff line change @@ -3721,7 +3721,7 @@ pub trait Iterator {
37213721 }
37223722 }
37233723
3724- /// Determines if the elements of this [`Iterator`] are unequal to those of
3724+ /// Determines if the elements of this [`Iterator`] are not equal to those of
37253725 /// another.
37263726 ///
37273727 /// # Examples
Original file line number Diff line number Diff line change @@ -1110,7 +1110,7 @@ impl<T: Copy> Copy for (T,) {
11101110/// - [NaN (not a number)](#associatedconstant.NAN): this value results from
11111111/// calculations like `(-1.0).sqrt()`. NaN has some potentially unexpected
11121112/// behavior:
1113- /// - It is unequal to any float, including itself! This is the reason `f32`
1113+ /// - It is not equal to any float, including itself! This is the reason `f32`
11141114/// doesn't implement the `Eq` trait.
11151115/// - It is also neither smaller nor greater than any float, making it
11161116/// impossible to sort by the default comparison operation, which is the
Original file line number Diff line number Diff line change @@ -1110,7 +1110,7 @@ impl<T: Copy> Copy for (T,) {
11101110/// - [NaN (not a number)](#associatedconstant.NAN): this value results from
11111111/// calculations like `(-1.0).sqrt()`. NaN has some potentially unexpected
11121112/// behavior:
1113- /// - It is unequal to any float, including itself! This is the reason `f32`
1113+ /// - It is not equal to any float, including itself! This is the reason `f32`
11141114/// doesn't implement the `Eq` trait.
11151115/// - It is also neither smaller nor greater than any float, making it
11161116/// impossible to sort by the default comparison operation, which is the
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ use crate::sys::locks as sys;
3535/// `owner` can be checked by other threads that want to see if they already
3636/// hold the lock, so needs to be atomic. If it compares equal, we're on the
3737/// same thread that holds the mutex and memory access can use relaxed ordering
38- /// since we're not dealing with multiple threads. If it compares unequal ,
38+ /// since we're not dealing with multiple threads. If it's not equal ,
3939/// synchronization is left to the mutex, making relaxed memory ordering for
4040/// the `owner` field fine in all cases.
4141pub struct ReentrantMutex < T > {
You can’t perform that action at this time.
0 commit comments