Skip to content

Commit 706c648

Browse files
committed
---
yaml --- r: 171313 b: refs/heads/batch c: 2dcbdc1 h: refs/heads/master i: 171311: d359437 v: v3
1 parent 98722e7 commit 706c648

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: c3dcf9b6bf7b3de4b7b4f51725f2ab814cbdfd38
32+
refs/heads/batch: 2dcbdc1edac50af0f1a2796b1dfe2dd082f8190c
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 496dc4eae7de9d14cd49511a9acfbf5f11ae6c3f
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/batch/src/libstd/sync/rwlock.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub const RW_LOCK_INIT: StaticRwLock = StaticRwLock {
110110
/// dropped.
111111
#[must_use]
112112
#[stable]
113-
pub struct RWLockReadGuard<'a, T: 'a> {
113+
pub struct RwLockReadGuard<'a, T: 'a> {
114114
__lock: &'a StaticRwLock,
115115
__data: &'a UnsafeCell<T>,
116116
__marker: marker::NoSend,
@@ -301,11 +301,11 @@ impl StaticRwLock {
301301
}
302302
}
303303

304-
impl<'rwlock, T> RWLockReadGuard<'rwlock, T> {
304+
impl<'rwlock, T> RwLockReadGuard<'rwlock, T> {
305305
fn new(lock: &'rwlock StaticRwLock, data: &'rwlock UnsafeCell<T>)
306-
-> LockResult<RWLockReadGuard<'rwlock, T>> {
306+
-> LockResult<RwLockReadGuard<'rwlock, T>> {
307307
poison::map_result(lock.poison.borrow(), |_| {
308-
RWLockReadGuard {
308+
RwLockReadGuard {
309309
__lock: lock,
310310
__data: data,
311311
__marker: marker::NoSend,
@@ -327,7 +327,7 @@ impl<'rwlock, T> RWLockWriteGuard<'rwlock, T> {
327327
}
328328
}
329329

330-
impl<'rwlock, T> Deref for RWLockReadGuard<'rwlock, T> {
330+
impl<'rwlock, T> Deref for RwLockReadGuard<'rwlock, T> {
331331
type Target = T;
332332

333333
fn deref(&self) -> &T { unsafe { &*self.__data.get() } }
@@ -344,7 +344,7 @@ impl<'rwlock, T> DerefMut for RWLockWriteGuard<'rwlock, T> {
344344
}
345345

346346
#[unsafe_destructor]
347-
impl<'a, T> Drop for RWLockReadGuard<'a, T> {
347+
impl<'a, T> Drop for RwLockReadGuard<'a, T> {
348348
fn drop(&mut self) {
349349
unsafe { self.__lock.lock.read_unlock(); }
350350
}

0 commit comments

Comments
 (0)