Skip to content

Commit 71cdef8

Browse files
authored
Implement EntitlementLock for Frozen (#198)
1 parent a34ae60 commit 71cdef8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/stasis.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ impl<Resource: Freeze> EntitlementLock for Entitlement<Resource> {
7777
type Resource = Resource;
7878
}
7979

80+
impl<Resource: Freeze, const N: usize> EntitlementLock for Frozen<Resource, N> {
81+
type Resource = Resource;
82+
}
83+
8084
/// Indicates a type-state is
8185
/// entitled to another type-state.
8286
///

0 commit comments

Comments
 (0)