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 02:03:09 +0200
committerville-h <ville3.14159@gmail.com>2015-01-04 02:15:56 +0200
commitfedbde66239d4a7a7551938975d4e3894d778332 (patch)
tree8e88cf8eab67b28e7cd0d26fcde82ae882132dd7 /src/libstd/sync
parentb2ab5d7658435f8710acc0b0a99ce858af36bd9a (diff)
downloadrust-fedbde66239d4a7a7551938975d4e3894d778332.tar.gz
rust-fedbde66239d4a7a7551938975d4e3894d778332.zip
rename std::sync::StaticRWLock to StaticRwLock
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/rwlock.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs
index 087281d6ce6..5743386e055 100644
--- a/src/libstd/sync/rwlock.rs
+++ b/src/libstd/sync/rwlock.rs
@@ -91,13 +91,13 @@ unsafe impl<T> Sync for RwLock<T> {}
 /// unsafe { LOCK.destroy() } // free all resources
 /// ```
 #[unstable = "may be merged with RwLock in the future"]
-pub struct StaticRWLock {
+pub struct StaticRwLock {
     lock: sys::RWLock,
     poison: poison::Flag,
 }
 
-unsafe impl Send for StaticRWLock {}
-unsafe impl Sync for StaticRWLock {}
+unsafe impl Send for StaticRwLock {}
+unsafe impl Sync for StaticRwLock {}
 
 /// Constant initialization for a statically-initialized rwlock.
 #[unstable = "may be merged with RwLock in the future"]
@@ -238,7 +238,7 @@ struct Dummy(UnsafeCell<()>);
 unsafe impl Sync for Dummy {}
 static DUMMY: Dummy = Dummy(UnsafeCell { value: () });
 
-impl StaticRWLock {
+impl StaticRwLock {
     /// Locks this rwlock with shared read access, blocking the current thread
     /// until it can be acquired.
     ///