Skip to content

Commit 3afcf68

Browse files
committed
Fix incorrect fairness claim in RwLockReadGuard::unlocked docs
Fixes #381
1 parent 8d64a4a commit 3afcf68

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lock_api/src/rwlock.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,8 +1247,6 @@ impl<'a, R: RawRwLock + 'a, T: ?Sized + 'a> RwLockReadGuard<'a, R, T> {
12471247

12481248
/// Temporarily unlocks the `RwLock` to execute the given function.
12491249
///
1250-
/// The `RwLock` is unlocked a fair unlock protocol.
1251-
///
12521250
/// This is safe because `&mut` guarantees that there exist no other
12531251
/// references to the data protected by the `RwLock`.
12541252
#[inline]

0 commit comments

Comments
 (0)