rename std::sync::RWLOCK_INIT to RW_LOCK_INIT
This commit is contained in:
parent
817f75d2fb
commit
5344ae2d4f
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ unsafe impl Sync for StaticRwLock {}
|
|||
|
||||
/// Constant initialization for a statically-initialized rwlock.
|
||||
#[unstable = "may be merged with RwLock in the future"]
|
||||
pub const RWLOCK_INIT: StaticRwLock = StaticRwLock {
|
||||
pub const RW_LOCK_INIT: StaticRwLock = StaticRwLock {
|
||||
lock: sys::RWLOCK_INIT,
|
||||
poison: poison::FLAG_INIT,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue