Skip to content

Commit 806b53a

Browse files
committed
Add semicolons
1 parent 9a9bd69 commit 806b53a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/manual_ilog2.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ declare_clippy_lint! {
1919
/// ### Example
2020
/// ```no_run
2121
/// let x: u32 = 5;
22-
/// let log = 31 - x.leading_zeros()
22+
/// let log = 31 - x.leading_zeros();
2323
/// ```
2424
/// Use instead:
2525
/// ```no_run
2626
/// let x: u32 = 5;
27-
/// let log = x.ilog2()
27+
/// let log = x.ilog2();
2828
/// ```
2929
#[clippy::version = "1.82.0"]
3030
pub MANUAL_ILOG2,

0 commit comments

Comments
 (0)