about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-01 17:10:25 +0200
committerGitHub <noreply@github.com>2023-05-01 17:10:25 +0200
commit15eebac9d962fa7510f4729f85e57c46a39c3ea1 (patch)
treedb6b36a40edc4747d1157feb89657f322e44f167 /compiler/rustc_parse
parent02134611cefa7c0d45503c91375653af216a40bc (diff)
parent09c50a0ae309dab351cb6c4d0f570a57ea72a7e9 (diff)
downloadrust-15eebac9d962fa7510f4729f85e57c46a39c3ea1.tar.gz
rust-15eebac9d962fa7510f4729f85e57c46a39c3ea1.zip
Rollup merge of #111065 - est31:send_mut_ref, r=m-ou-se
Explicitly document how Send and Sync relate to references

Some of these relations were already mentioned in the text, but that Send is implemented for &mut impl Send was not mentioned, neither did the docs list when &T is Sync. Inspired by the discussion in #110961.

[Proof](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=ed77bfc3c77ba664400ebc2734f500e6) based on `@lukas-code` 's [example](https://github.com/rust-lang/rust/pull/110961#discussion_r1181220662).
Diffstat (limited to 'compiler/rustc_parse')
0 files changed, 0 insertions, 0 deletions