Re:Zig; what I think after months of using it
by zozbot234 on Thursday February 06, 2025 @05:02PM
(#42966947)
References to UnsafeCell<> should still be safe, because the only thing you can do with an &UnsafeCell<T> is extract a possibly-mutating raw pointer to T. (UnsafeCell<> is also special in that, like Cell<>, you can mutate through it without incurring UB.)
[ Parent
| on HN ]
There are no comments on this comment yet.