about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorville-h <ville3.14159@gmail.com>2015-01-04 09:03:27 +0200
committerville-h <ville3.14159@gmail.com>2015-01-04 09:03:27 +0200
commit5344ae2d4f66f5e8392b325320eeec0af29f503c (patch)
tree780ffdafe1d7829f188d1b042619f0172559582e /src/libstd/sync
parent817f75d2fbc15dd152c9473e012ec5271cb5e94b (diff)
downloadrust-5344ae2d4f66f5e8392b325320eeec0af29f503c.tar.gz
rust-5344ae2d4f66f5e8392b325320eeec0af29f503c.zip
rename std::sync::RWLOCK_INIT to RW_LOCK_INIT
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/rwlock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs
index 04efbf893ea..7b673838339 100644
--- a/src/libstd/sync/rwlock.rs
+++ b/src/libstd/sync/rwlock.rs
@@ -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,
 };