News for hackers. Stuff that matters.
Re:Rust Ownership Rules by danieldk on Monday March 02, 2020 @05:37AM (#22463250)
Sorry, I should have been clearer about that. You are completely right that at some point things have to rely on some primitives that are 'magic' (in this case UnsafeCell). But I meant that RefCell itself uses standard constructs to guarantee the 'single mutable xor multiple immutable' invariant.

There are no comments on this comment yet.