summaryrefslogtreecommitdiff
path: root/src/collection/guard.rs
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2024-03-13 22:44:46 -0400
committerMica White <botahamec@outlook.com>2024-03-13 22:44:46 -0400
commit7bd236853ef5ae705328c8fdc492cf60fc6887c1 (patch)
treeec4e9dced562fdae618b98ac704074c0ddc9cc41 /src/collection/guard.rs
parent7c6f49b6570669098938dc332a4f3e85dd3d217d (diff)
Lockable overhaul
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