Skip to content

Commit

Permalink
lint: allow the identity-op warning
Browse files Browse the repository at this point in the history
Ignores the warning for the `clippy::identity_op` to allow using ranged
bitfield CSR macro arguments with a leading `0`.
  • Loading branch information
rmsyn committed Dec 21, 2024
1 parent d85beaf commit 6e91134
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions riscv/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#![no_std]
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::eq_op)]
#![allow(clippy::identity_op)]

pub use paste::paste;

Expand Down

0 comments on commit 6e91134

Please sign in to comment.