summaryrefslogtreecommitdiff
path: root/src/rwlock/write_guard.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rwlock/write_guard.rs')
-rw-r--r--src/rwlock/write_guard.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rwlock/write_guard.rs b/src/rwlock/write_guard.rs
index 0121140..6549822 100644
--- a/src/rwlock/write_guard.rs
+++ b/src/rwlock/write_guard.rs
@@ -63,7 +63,7 @@ impl<'a, 'key: 'a, T: ?Sized + 'a, Key: Keyable, R: RawRwLock>
Self {
rwlock: RwLockWriteRef(rwlock, PhantomData),
thread_key,
- _phantom1: PhantomData,
+ _phantom: PhantomData,
}
}
}