rename std::sync::RWLOCK_INIT to RW_LOCK_INIT

This commit is contained in:
ville-h
2015-01-04 09:03:27 +02:00
parent 817f75d2fb
commit 5344ae2d4f

View File

@@ -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,
};