We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34ae60 commit 71cdef8Copy full SHA for 71cdef8
src/stasis.rs
@@ -77,6 +77,10 @@ impl<Resource: Freeze> EntitlementLock for Entitlement<Resource> {
77
type Resource = Resource;
78
}
79
80
+impl<Resource: Freeze, const N: usize> EntitlementLock for Frozen<Resource, N> {
81
+ type Resource = Resource;
82
+}
83
+
84
/// Indicates a type-state is
85
/// entitled to another type-state.
86
///
0 commit comments