summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2025-12-16 17:24:49 +0900
committerMiguel Ojeda <ojeda@kernel.org>2026-01-19 01:13:22 +0100
commit84b1b49eccb79ec2e4aaa45116fffb2ac61b876c (patch)
tree264e8227c0190d45e8d57dc34f38356be3a06807 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent1b18b37a2c30f6e6698205a06de393f7e626f5d2 (diff)
rust: ptr: replace unneeded use of `build_assert`
Since `ALIGN` is a const parameter, this assertion can be done in const context using the `assert!` macro. Suggested-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://patch.msgid.link/20251216-ptr_assert-v1-1-d8b2d5c5741d@nvidia.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions