Skip to content

Commit 77eee26

Browse files
committed
refactor(kernel): un-ignore the clippy::inconsistent_digit_grouping lint in ctz3_lut_nonzero
It's no longer reported for an integer literal `0b01_00_10_00_01_00_0000_0000_0000_0000`.
1 parent 1d0fb21 commit 77eee26

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/r3_kernel/src/utils/ctz.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ fn ctz3_lut(x: usize) -> u32 {
173173
#[inline]
174174
// This code groups digits irregularly to express a specific meaning
175175
#[expect(clippy::unusual_byte_groupings)]
176-
#[allow(clippy::inconsistent_digit_grouping)]
177176
fn ctz3_lut_nonzero(x: usize) -> u32 {
178177
debug_assert!(x < 8);
179178
debug_assert!(x != 0);

0 commit comments

Comments
 (0)