Skip to content

Commit 1d0fb21

Browse files
committed
refactor(kernel): ignore the clippy::unusual_byte_groupings lint in ctz3_lut_nonzero
1 parent bcaef15 commit 1d0fb21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/r3_kernel/src/utils/ctz.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ fn ctz3_lut(x: usize) -> u32 {
172172
/// `x` must be in range `1..8`.
173173
#[inline]
174174
// This code groups digits irregularly to express a specific meaning
175+
#[expect(clippy::unusual_byte_groupings)]
175176
#[allow(clippy::inconsistent_digit_grouping)]
176177
fn ctz3_lut_nonzero(x: usize) -> u32 {
177178
debug_assert!(x < 8);

0 commit comments

Comments
 (0)