diff options
author | 2023-05-31 14:59:36 +0000 | |
---|---|---|
committer | 2023-05-31 18:53:10 +0200 | |
commit | f8110cd157833e721f50f779dc70f8ae5b429832 (patch) | |
tree | b39047e404594da2afc8474aadfd84a2b307e17e /scripts/generate_rust_analyzer.py | |
parent | rust: sync: implement `AsRef<T>` for `Arc<T>` (diff) | |
download | wireguard-linux-f8110cd157833e721f50f779dc70f8ae5b429832.tar.xz wireguard-linux-f8110cd157833e721f50f779dc70f8ae5b429832.zip |
rust: sync: reword the `Arc` safety comment for `Send`
The safety comment on `impl Send for Arc` talks about "directly"
accessing the value, when it really means "accessing the value with a
mutable reference". This commit clarifies that.
Suggested-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Link: https://lore.kernel.org/r/20230531145939.3714886-2-aliceryhl@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions