From 08dabfe4c7e5cf2726dbfafeb000cb1c1dde83c4 Mon Sep 17 00:00:00 2001 From: Mica White Date: Thu, 27 Aug 2026 12:20:53 -0400 Subject: Fix build --- src/collection/owned.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/collection/owned.rs b/src/collection/owned.rs index 483bc09..ab45e86 100755 --- a/src/collection/owned.rs +++ b/src/collection/owned.rs @@ -379,7 +379,8 @@ impl OwnedLockCollection { /// ``` #[must_use] pub const fn context(&self) -> LockContext<'_, L> { - LockContext::new(&self.child) + // safety: we lock in a specific order and don't allow outside access + unsafe { LockContext::new(&self.child) } } /// Unlocks the underlying lockable data type, returning the key that's -- cgit v1.3.1