The lint doesn't improve perf (yet)

This commit is contained in:
Oliver Schneider 2017-07-10 09:50:36 +02:00
parent 7102442a4b
commit a5fe4bed0e
No known key found for this signature in database
GPG Key ID: A69F8D225B3AD7D9

View File

@ -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