Update library/std/src/sync/rwlock.rs

Co-authored-by: Steven Fackler <sfackler@gmail.com>
This commit is contained in:
Aleksey Kladov 2021-02-27 19:44:17 +03:00 committed by GitHub
parent d94b4e81e4
commit 261c952ba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ use crate::sys_common::rwlock as sys;
/// The priority policy of the lock is dependent on the underlying operating
/// system's implementation, and this type does not guarantee that any
/// 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`.
///
/// The type parameter `T` represents the data that this lock protects. It is