aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorAlice Ryhl <[email protected]>2023-05-31 14:59:37 +0000
committerMiguel Ojeda <[email protected]>2023-05-31 16:53:10 +0000
commitd701e061cb14f589f8c4f48fd7fbe81c0e34b7e7 (patch)
treecd4df82f1656a5d98eeb6a7e48c34cad1fad7de5 /rust/helpers.c
parentrust: sync: reword the `Arc` safety comment for `Send` (diff)
downloadkernel-d701e061cb14f589f8c4f48fd7fbe81c0e34b7e7.tar.gz
kernel-d701e061cb14f589f8c4f48fd7fbe81c0e34b7e7.zip
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 <[email protected]> Signed-off-by: Alice Ryhl <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Reviewed-by: Boqun Feng <[email protected]> Reviewed-by: Martin Rodriguez Reboredo <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions