rust/library/core
Yuki Okushi 7958166300
Rollup merge of #82372 - RalfJung:unsafe-cell, r=KodrAus
improve UnsafeCell docs

Sometimes [questions like this come up](https://rust-lang.zulipchat.com/#narrow/stream/136281-t-lang.2Fwg-unsafe-code-guidelines/topic/UnsafeCells.20as.20raw.20pointers) because the UnsafeCell docs say "it's the only legal way to obtain aliasable data that is considered mutable". That is not entirely correct, since raw pointers also provide that option. So I propose we focus the docs on the interaction of `UnsafeCell` and *shared references* specifically, which is really where they are needed.
2021-02-22 18:26:11 +09:00
..
benches Add more benchmarks 2021-01-08 09:50:35 +00:00
src Rollup merge of #82372 - RalfJung:unsafe-cell, r=KodrAus 2021-02-22 18:26:11 +09:00
tests Rollup merge of #82093 - bjorn3:more_atomic_tests, r=kennytm 2021-02-19 02:49:07 +01:00
Cargo.toml mv std libs to library/ 2020-07-27 19:51:13 -05:00