Closed
Description
Introduce Mutable<T>
to implement a dynamic mutable slot, with dynamic borrow check, in once place. Obsolete Cell<T>
and RcMut<T>
(and what about @mut T
? See #7140)
For Mutable<T>
use an implementation with wrapped borrowed pointers to allow for both closured-bracketed and "roaming" borrowed pointers.
A working test is https://gist.github.com/anonymous/f007d9b907509c03c17f
Updated, WIP: https://github.com/blake2-ppc/rust/compare/mutable-t
Metadata
Metadata
Assignees
Labels
No labels