Skip to content

Commit 5344ae2

Browse files
committed
rename std::sync::RWLOCK_INIT to RW_LOCK_INIT
1 parent 817f75d commit 5344ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/rwlock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ unsafe impl Sync for StaticRwLock {}
101101

102102
/// Constant initialization for a statically-initialized rwlock.
103103
#[unstable = "may be merged with RwLock in the future"]
104-
pub const RWLOCK_INIT: StaticRwLock = StaticRwLock {
104+
pub const RW_LOCK_INIT: StaticRwLock = StaticRwLock {
105105
lock: sys::RWLOCK_INIT,
106106
poison: poison::FLAG_INIT,
107107
};

0 commit comments

Comments
 (0)