mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
allow accessing the contents of UnsafeCell without going through get This has been FCP'd by @rust-lang/opsem in https://github.com/rust-lang/unsafe-code-guidelines/issues/281. @rust-lang/lang since this is a change very deep in the details of the aliasing model, I assume it's fine to just FYI you here, but please stop me if that is not right. The first commit attempts to clarify some potentially-confusing parts of the docs. @jethrogb I hope this helps somewhat resolve the confusion that these docs previously caused. Closes https://github.com/rust-lang/unsafe-code-guidelines/issues/281