Skip to content

Commit cdfa524

Browse files
committed
---
yaml --- r: 36370 b: refs/heads/master c: fedbde6 h: refs/heads/master
1 parent 04ac4b5 commit cdfa524

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: b2ab5d7658435f8710acc0b0a99ce858af36bd9a
2+
refs/heads/master: fedbde66239d4a7a7551938975d4e3894d778332

trunk/src/libstd/sync/rwlock.rs

+4-4
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)