about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-15 09:20:19 +0100
committerGitHub <noreply@github.com>2024-02-15 09:20:19 +0100
commite5186aaf4d977644b3ef20a944c7f273c1b0528e (patch)
tree1c74179f52724d722c9468ad1bf62e092d213ec4 /compiler/rustc_resolve/src
parentf9a0675c3c9f52a85102f1f978a641dab210f195 (diff)
parent9cccf208997e0e8a9909b9d174be7b8b3e4f6e83 (diff)
downloadrust-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