Update library/std/src/sync/rwlock.rs
Co-authored-by: Steven Fackler <sfackler@gmail.com>
This commit is contained in:
parent
d94b4e81e4
commit
261c952ba6
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ use crate::sys_common::rwlock as sys;
|
||||||
/// The priority policy of the lock is dependent on the underlying operating
|
/// The priority policy of the lock is dependent on the underlying operating
|
||||||
/// system's implementation, and this type does not guarantee that any
|
/// system's implementation, and this type does not guarantee that any
|
||||||
/// particular policy will be used. In particular, a writer which is waiting to
|
/// particular policy will be used. In particular, a writer which is waiting to
|
||||||
/// acquire the lock in `write` might or might not block future calls to
|
/// acquire the lock in `write` might or might not block concurrent calls to
|
||||||
/// `read`.
|
/// `read`.
|
||||||
///
|
///
|
||||||
/// The type parameter `T` represents the data that this lock protects. It is
|
/// The type parameter `T` represents the data that this lock protects. It is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue