aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/spinlock.c
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2024-09-04 20:43:46 +0000
committerMiguel Ojeda <[email protected]>2024-10-07 19:39:57 +0000
commit04866494e936d041fd196d3a36aecd979e4ef078 (patch)
tree001d543cd83dd114a39ff7c29141af6d00a3d6d0 /rust/helpers/spinlock.c
parentrust: start using the `#[expect(...)]` attribute (diff)
downloadkernel-04866494e936d041fd196d3a36aecd979e4ef078.tar.gz
kernel-04866494e936d041fd196d3a36aecd979e4ef078.zip
Documentation: rust: discuss `#[expect(...)]` in the guidelines
Discuss `#[expect(...)]` in the Lints sections of the coding guidelines document, which is an upcoming feature in Rust 1.81.0, and explain that it is generally to be preferred over `allow` unless there is a reason not to use it (e.g. conditional compilation being involved). Tested-by: Gary Guo <[email protected]> Reviewed-by: Gary Guo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers/spinlock.c')
0 files changed, 0 insertions, 0 deletions