Home
last modified time | relevance | path

Searched hist:f8110cd157833e721f50f779dc70f8ae5b429832 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/rust/kernel/sync/
H A Darc.rsdiff f8110cd157833e721f50f779dc70f8ae5b429832 Wed May 31 09:59:36 CDT 2023 Alice Ryhl <aliceryhl@google.com> 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>