about summary refs log tree commit diff
path: root/library/std/src/sync
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/std/src/sync
parente4b9f86054c581d931f8bad0c87523c53e1e8e3f (diff)
downloadrust-e5a5b90afc527dfb87f6034b52b7adca063ca078.tar.gz
rust-e5a5b90afc527dfb87f6034b52b7adca063ca078.zip
unequal → not equal
Diffstat (limited to 'library/std/src/sync')
-rw-r--r--library/std/src/sync/remutex.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/remutex.rs b/library/std/src/sync/remutex.rs
index 4c054da6471..519ec2c32bd 100644
--- a/library/std/src/sync/remutex.rs
+++ b/library/std/src/sync/remutex.rs
@@ -35,7 +35,7 @@ use crate::sys::locks as sys;
 /// `owner` can be checked by other threads that want to see if they already
 /// hold the lock, so needs to be atomic. If it compares equal, we're on the
 /// same thread that holds the mutex and memory access can use relaxed ordering
-/// since we're not dealing with multiple threads. If it compares unequal,
+/// since we're not dealing with multiple threads. If it's not equal,
 /// synchronization is left to the mutex, making relaxed memory ordering for
 /// the `owner` field fine in all cases.
 pub struct ReentrantMutex<T> {