Context currently has a .shared field, which is shared mutable state.
It would be nice if we could redesign the code such that we don't have shared
mutable state.
One idea I have for accomplishing this is passing &mut SharedContext in
wherever it's needed, instead of getting it out of Context.
Contextcurrently has a.sharedfield, which is shared mutable state.It would be nice if we could redesign the code such that we don't have shared
mutable state.
One idea I have for accomplishing this is passing
&mut SharedContextinwherever it's needed, instead of getting it out of
Context.