diff --git a/sub/core/src/pod.rs b/sub/core/src/pod.rs index 566013b..868184c 100644 --- a/sub/core/src/pod.rs +++ b/sub/core/src/pod.rs @@ -42,7 +42,7 @@ impl Mut { } impl Mut { - #[inline(always)] pub fn set(&self, value: T) { unsafe { core::ptr::write(self.as_ptr(), value) } } + #[inline(always)] pub unsafe fn set(&self, value: T) { unsafe { core::ptr::write(self.as_ptr(), value) } } #[inline(always)] pub fn get(&self) -> T { unsafe { core::ptr::read(self.as_ptr()) } } } impl Mut> {