Comment
Comment by vlovich123
I'm not sure what you're trying to say, but the compile-time safety requirement isn't given up. It would look something like:
This isn't much different than
since rust doesn't permit simultaneous access when a mutable reference is taken.