summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2024-11-07 05:36:46 -0500
committerMiguel Ojeda <ojeda@kernel.org>2024-12-18 00:37:21 +0100
commit2dde1c8b04a5c415912bc3ffa8b677eb364dbcb7 (patch)
tree79202a24dcc32027498cc6b8d66b3b6ad5152345 /scripts/generate_rust_analyzer.py
parent3f4223c007b25327c49aabe3af8ecc72bb33dbf6 (diff)
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