diff options
| author | Mica White <botahamec@outlook.com> | 2024-03-11 16:33:26 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2024-03-11 16:33:26 -0400 |
| commit | 462fc2d9aab8f0cba680caec344e4c388e9901b1 (patch) | |
| tree | 6b401c5ed4920c2ec8093d5c49976fe0b72573c2 /src/collection.rs | |
| parent | 5eaa4fe1d3bfcda696122ba3d6b4914dba19ef96 (diff) | |
Documentation
Diffstat (limited to 'src/collection.rs')
| -rw-r--r-- | src/collection.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<L> { - 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, |
