Skip to content

Commit fedbde6

Browse files
committed
rename std::sync::StaticRWLock to StaticRwLock
1 parent b2ab5d7 commit fedbde6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/sync/rwlock.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ unsafe impl<T> Sync for RwLock<T> {}
9191
/// unsafe { LOCK.destroy() } // free all resources
9292
/// ```
9393
#[unstable = "may be merged with RwLock in the future"]
94-
pub struct StaticRWLock {
94+
pub struct StaticRwLock {
9595
lock: sys::RWLock,
9696
poison: poison::Flag,
9797
}
9898

99-
unsafe impl Send for StaticRWLock {}
100-
unsafe impl Sync for StaticRWLock {}
99+
unsafe impl Send for StaticRwLock {}
100+
unsafe impl Sync for StaticRwLock {}
101101

102102
/// Constant initialization for a statically-initialized rwlock.
103103
#[unstable = "may be merged with RwLock in the future"]
@@ -238,7 +238,7 @@ struct Dummy(UnsafeCell<()>);
238238
unsafe impl Sync for Dummy {}
239239
static DUMMY: Dummy = Dummy(UnsafeCell { value: () });
240240

241-
impl StaticRWLock {
241+
impl StaticRwLock {
242242
/// Locks this rwlock with shared read access, blocking the current thread
243243
/// until it can be acquired.
244244
///

0 commit comments

Comments
 (0)