diff options
author | 2024-11-07 05:36:46 -0500 | |
---|---|---|
committer | 2024-12-18 00:37:21 +0100 | |
commit | 2dde1c8b04a5c415912bc3ffa8b677eb364dbcb7 (patch) | |
tree | 79202a24dcc32027498cc6b8d66b3b6ad5152345 /scripts/generate_rust_analyzer.py | |
parent | rust: workqueue: Enable execution of doctests (diff) | |
download | wireguard-linux-2dde1c8b04a5c415912bc3ffa8b677eb364dbcb7.tar.xz wireguard-linux-2dde1c8b04a5c415912bc3ffa8b677eb364dbcb7.zip |
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions