3 ms·
In fact, RefCell can't even be shared between threads, it _has_ to be used in a single threaded context. RefCell and the "no mutable aliasing" isn't something
by Manishearth 11y ago
In fact, RefCell can't even be shared between threads, it _has_ to be used in a single threaded context.
RefCell and the "no mutable aliasing" isn't something to be "worked around", it's something to embrace, because safety and many other things come from it.