summaryrefslogtreecommitdiff
path: root/src/collection/guard.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/collection/guard.rs')
-rw-r--r--src/collection/guard.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collection/guard.rs b/src/collection/guard.rs
index 110a935..3b98d29 100644
--- a/src/collection/guard.rs
+++ b/src/collection/guard.rs
@@ -5,7 +5,7 @@ use crate::{key::Keyable, Lockable};
use super::LockGuard;
impl<'a, 'key: 'a, L: Lockable<'a>, Key: Keyable> Deref for LockGuard<'a, 'key, L, Key> {
- type Target = L::Output;
+ type Target = L::Guard;
fn deref(&self) -> &Self::Target {
&self.guard