Home
last modified time | relevance | path

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

/openbmc/linux/rust/kernel/sync/
H A Darc.rsdiff d701e061cb14f589f8c4f48fd7fbe81c0e34b7e7 Wed May 31 09:59:37 CDT 2023 Alice Ryhl <aliceryhl@google.com> rust: sync: reword the `Arc` safety comment for `Sync`

The safety comment on `impl Sync for Arc` references the Send safety
comment. This commit avoids that in case the two comments drift apart in
the future.

Suggested-by: Andreas Hindborg <a.hindborg@samsung.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: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Link: https://lore.kernel.org/r/20230531145939.3714886-3-aliceryhl@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>