From a5fe4bed0e1cba04dbb0c0b359cc3096c74f09ec Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Mon, 10 Jul 2017 09:50:36 +0200 Subject: [PATCH] The lint doesn't improve perf (yet) --- clippy_lints/src/bit_mask.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/bit_mask.rs b/clippy_lints/src/bit_mask.rs index 889f74d52e7..f56c0b2aeb3 100644 --- a/clippy_lints/src/bit_mask.rs +++ b/clippy_lints/src/bit_mask.rs @@ -76,7 +76,7 @@ /// /// **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 -- 2.44.0