diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-15 09:20:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-15 09:20:19 +0100 |
| commit | e5186aaf4d977644b3ef20a944c7f273c1b0528e (patch) | |
| tree | 1c74179f52724d722c9468ad1bf62e092d213ec4 /compiler/rustc_resolve/src | |
| parent | f9a0675c3c9f52a85102f1f978a641dab210f195 (diff) | |
| parent | 9cccf208997e0e8a9909b9d174be7b8b3e4f6e83 (diff) | |
| download | rust-e5186aaf4d977644b3ef20a944c7f273c1b0528e.tar.gz rust-e5186aaf4d977644b3ef20a944c7f273c1b0528e.zip | |
Rollup merge of #121082 - peterjoel:atomic-docs, r=cuviper
Clarified docs on non-atomic oprations on owned/mut refs to atomics I originally misinterpreted the documentation to mean that the compiler can/will automatically optimise away atomic operations whenever the data is owned or mutably referenced. On re-reading I think it is not technically incorrect, but specifically mentioning _how_ the atomic operations can be avoided also prevents this misunderstanding.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions
