diff options
| author | Mica White <botahamec@outlook.com> | 2024-03-12 14:33:02 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2024-03-12 14:33:02 -0400 |
| commit | b3fdc2cd2172cf946c79e255d4248e135c0d9669 (patch) | |
| tree | 67d538cca80adf4380e0759d2507bec3b05bafa1 /src/rwlock.rs | |
| parent | 75eba2be1738971aa43734697f69f042fbe76e46 (diff) | |
Name change
Diffstat (limited to 'src/rwlock.rs')
| -rw-r--r-- | src/rwlock.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rwlock.rs b/src/rwlock.rs index df68fc5..7fb8c7a 100644 --- a/src/rwlock.rs +++ b/src/rwlock.rs @@ -89,7 +89,7 @@ pub struct RwLockWriteRef<'a, T: ?Sized, R: RawRwLock>( pub struct RwLockReadGuard<'a, 'key, T: ?Sized, Key: Keyable + 'key, R: RawRwLock> { rwlock: RwLockReadRef<'a, T, R>, thread_key: Key, - _phantom1: PhantomData<&'key ()>, + _phantom: PhantomData<&'key ()>, } /// RAII structure used to release the exclusive write access of a lock when @@ -102,5 +102,5 @@ pub struct RwLockReadGuard<'a, 'key, T: ?Sized, Key: Keyable + 'key, R: RawRwLoc pub struct RwLockWriteGuard<'a, 'key, T: ?Sized, Key: Keyable + 'key, R: RawRwLock> { rwlock: RwLockWriteRef<'a, T, R>, thread_key: Key, - _phantom1: PhantomData<&'key ()>, + _phantom: PhantomData<&'key ()>, } |
