summaryrefslogtreecommitdiff
path: root/src/rwlock/rwlock.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2024-05-21 13:39:57 -0400
committerBotahamec <botahamec@outlook.com>2024-05-21 13:39:57 -0400
commita4625296cb98a68a590ae1aa78b07f190a850f37 (patch)
tree01487106e65b1cde4f8dda2f35f2300d9a105429 /src/rwlock/rwlock.rs
parent6e3aa5182604b30ef75ba5676e9f677cc1d18fe3 (diff)
fix errors
Diffstat (limited to 'src/rwlock/rwlock.rs')
-rw-r--r--src/rwlock/rwlock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rwlock/rwlock.rs b/src/rwlock/rwlock.rs
index d16befe..7070b0e 100644
--- a/src/rwlock/rwlock.rs
+++ b/src/rwlock/rwlock.rs
@@ -254,7 +254,7 @@ impl<T: ?Sized, R: RawRwLock> RwLock<T, R> {
/// Attempts to lock this `RwLock` with exclusive write access.
///
/// This function does not block. If the lock could not be acquired at this
- /// time, then `None` is returned. Otherwise an RAII guard is returned
+ /// time, then `None` is returned. Otherwise, an RAII guard is returned
/// which will release the lock when it is dropped.
///
/// This function does not provide any guarantees with respect to the