mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 07:04:18 +00:00
Fixed extra backtick
Co-authored-by: Ruby Lazuli <general@patchmixolydic.com>
This commit is contained in:
parent
5515566829
commit
6ecb48f6d0
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ use rustc_session::declare_lint_pass;
|
|||
|
||||
declare_clippy_lint! {
|
||||
/// ### What it does
|
||||
/// Checks for expressions like `x.count_ones() == 1` or `x & (x - 1) == 0` which are manual
|
||||
/// reimplementations of `x.is_power_of_two()``
|
||||
/// Checks for expressions like `x.count_ones() == 1` or `x & (x - 1) == 0`, which are manual
|
||||
/// reimplementations of `x.is_power_of_two()`.
|
||||
/// ### Why is this bad?
|
||||
/// Manual reimplementations of `is_power_of_two` increase code complexity for little benefit.
|
||||
/// ### Example
|
||||
|
|
Loading…
Reference in a new issue