From 462fc2d9aab8f0cba680caec344e4c388e9901b1 Mon Sep 17 00:00:00 2001 From: Mica White Date: Mon, 11 Mar 2024 16:33:26 -0400 Subject: Documentation --- src/collection.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/collection.rs') diff --git a/src/collection.rs b/src/collection.rs index 1253a0f..c6cbe2d 100644 --- a/src/collection.rs +++ b/src/collection.rs @@ -12,10 +12,10 @@ mod guard; /// important that no duplicate locks are included within. #[derive(Debug, Clone, Copy)] pub struct LockCollection { - collection: L, + data: L, } -/// A guard for a generic [`Lockable`] type. +/// A RAII guard for a generic [`Lockable`] type. pub struct LockGuard<'a, 'key: 'a, L: Lockable<'a>, Key: Keyable + 'key> { guard: L::Output, key: Key, -- cgit v1.2.3