verbose_bit_mask #1940
Labels
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
T-middle
Type: Probably requires verifiying types
Correct me if I'm wrong, but for
x = 0b10000u16
,x.trailing_zeros() > 4
andx & 0b1111 == 0
are not equivalent. Shouldn't the advice be>=
?The text was updated successfully, but these errors were encountered: