mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
dd64bd83b7
The proper usage of shared types is now sharing through `&self` rather than `&mut self` because the mutable version will provide stronger guarantees (no aliasing on *any* thread).