File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
branches/try/src/libstd/sync Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 73a25f55ad748b4d3516417c711b99ce446591af
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5
- refs/heads/try: b2ab5d7658435f8710acc0b0a99ce858af36bd9a
5
+ refs/heads/try: fedbde66239d4a7a7551938975d4e3894d778332
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -91,13 +91,13 @@ unsafe impl<T> Sync for RwLock<T> {}
91
91
/// unsafe { LOCK.destroy() } // free all resources
92
92
/// ```
93
93
#[ unstable = "may be merged with RwLock in the future" ]
94
- pub struct StaticRWLock {
94
+ pub struct StaticRwLock {
95
95
lock : sys:: RWLock ,
96
96
poison : poison:: Flag ,
97
97
}
98
98
99
- unsafe impl Send for StaticRWLock { }
100
- unsafe impl Sync for StaticRWLock { }
99
+ unsafe impl Send for StaticRwLock { }
100
+ unsafe impl Sync for StaticRwLock { }
101
101
102
102
/// Constant initialization for a statically-initialized rwlock.
103
103
#[ unstable = "may be merged with RwLock in the future" ]
@@ -238,7 +238,7 @@ struct Dummy(UnsafeCell<()>);
238
238
unsafe impl Sync for Dummy { }
239
239
static DUMMY : Dummy = Dummy ( UnsafeCell { value : ( ) } ) ;
240
240
241
- impl StaticRWLock {
241
+ impl StaticRwLock {
242
242
/// Locks this rwlock with shared read access, blocking the current thread
243
243
/// until it can be acquired.
244
244
///
You can’t perform that action at this time.
0 commit comments