linux/rust/kernel/sync
Tamir Duberstein 2dde1c8b04 rust: sync: document `PhantomData` in `Arc`
Add a comment explaining the relevant semantics of `PhantomData`. This
should help future readers who may, as I did, assume that this field is
redundant at first glance.

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20241107-simplify-arc-v2-1-7256e638aac1@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-12-18 00:37:21 +01:00
..
arc rust: provide proper code documentation titles 2024-10-07 21:39:57 +02:00
lock rust: use custom FFI integer types 2024-11-10 23:58:00 +01:00
arc.rs rust: sync: document `PhantomData` in `Arc` 2024-12-18 00:37:21 +01:00
condvar.rs rust: use custom FFI integer types 2024-11-10 23:58:00 +01:00
lock.rs Rust changes for v6.13 2024-11-26 14:00:26 -08:00
locked_by.rs rust: treewide: switch to the kernel `Vec` type 2024-10-15 23:10:32 +02:00
poll.rs rust: file: add abstraction for `poll_table` 2024-09-30 13:02:29 +02:00