diff options
| author | Isaac Bess <isaac.bess@outlook.com> | 2024-09-02 17:01:20 -0700 |
|---|---|---|
| committer | Sour1emon <isaac.bess@outlook.com> | 2024-09-05 18:38:12 -0700 |
| commit | 6ecb48f6d0becb8ff365b787106a8be429b4637a (patch) | |
| tree | faaaac2481f106dda2e23864d14bdda5569c7fcf | |
| parent | 5515566829f3b7ba3c302c5058e986657c01cc7e (diff) | |
| download | rust-6ecb48f6d0becb8ff365b787106a8be429b4637a.tar.gz rust-6ecb48f6d0becb8ff365b787106a8be429b4637a.zip | |
Fixed extra backtick
Co-authored-by: Ruby Lazuli <general@patchmixolydic.com>
| -rw-r--r-- | clippy_lints/src/manual_is_power_of_two.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/manual_is_power_of_two.rs b/clippy_lints/src/manual_is_power_of_two.rs index daa1abf61f1..c7ac668267a 100644 --- a/clippy_lints/src/manual_is_power_of_two.rs +++ b/clippy_lints/src/manual_is_power_of_two.rs @@ -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 |
