Skip to content

Commit a0ba2b5

Browse files
committed
Updated test comment
1 parent fc5f870 commit a0ba2b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/manual_ilog2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ fn main() {
88
let b: u64 = 543534;
99
let _ = 63 - b.leading_zeros();
1010

11-
let _ = 64 - b.leading_zeros(); // No lint
11+
let _ = 64 - b.leading_zeros(); // No lint because manual ilog2 is BIT_WIDTH - 1 - x.leading_zeros()
1212
}

0 commit comments

Comments
 (0)