We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 817f75d commit 5344ae2Copy full SHA for 5344ae2
src/libstd/sync/rwlock.rs
@@ -101,7 +101,7 @@ unsafe impl Sync for StaticRwLock {}
101
102
/// Constant initialization for a statically-initialized rwlock.
103
#[unstable = "may be merged with RwLock in the future"]
104
-pub const RWLOCK_INIT: StaticRwLock = StaticRwLock {
+pub const RW_LOCK_INIT: StaticRwLock = StaticRwLock {
105
lock: sys::RWLOCK_INIT,
106
poison: poison::FLAG_INIT,
107
};
0 commit comments