Skip to content

Commit

Permalink
rename std::sync::RWLOCK_INIT to RW_LOCK_INIT
Browse files Browse the repository at this point in the history
  • Loading branch information
ville-h committed Jan 4, 2015
1 parent 817f75d commit 5344ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sync/rwlock.rs
Expand Up @@ -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,
};
Expand Down

0 comments on commit 5344ae2

Please sign in to comment.