Skip to content

Commit 6ecb48f

Browse files
Fixed extra backtick
Co-authored-by: Ruby Lazuli <[email protected]>
1 parent 5515566 commit 6ecb48f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/manual_is_power_of_two.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ use rustc_session::declare_lint_pass;
1010

1111
declare_clippy_lint! {
1212
/// ### What it does
13-
/// Checks for expressions like `x.count_ones() == 1` or `x & (x - 1) == 0` which are manual
14-
/// reimplementations of `x.is_power_of_two()``
13+
/// Checks for expressions like `x.count_ones() == 1` or `x & (x - 1) == 0`, which are manual
14+
/// reimplementations of `x.is_power_of_two()`.
1515
/// ### Why is this bad?
1616
/// Manual reimplementations of `is_power_of_two` increase code complexity for little benefit.
1717
/// ### Example

0 commit comments

Comments
 (0)