From b3fdc2cd2172cf946c79e255d4248e135c0d9669 Mon Sep 17 00:00:00 2001 From: Mica White Date: Tue, 12 Mar 2024 14:33:02 -0400 Subject: Name change --- src/rwlock.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rwlock.rs') 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 ()>, } -- cgit v1.2.3