The lint doesn't improve perf (yet)
This commit is contained in:
parent
7102442a4b
commit
a5fe4bed0e
@ -76,7 +76,7 @@ declare_lint! {
|
||||
///
|
||||
/// **Why is this bad?** `x.trailing_zeros() > 4` is much clearer than `x & 15 == 0`
|
||||
///
|
||||
/// **Known problems:** None
|
||||
/// **Known problems:** llvm generates better code for `x & 15 == 0` on x86
|
||||
///
|
||||
/// **Example:**
|
||||
/// ```rust
|
||||
|
Loading…
Reference in New Issue
Block a user