Skip to content

Commit

Permalink
Updated test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sour1emon committed Sep 27, 2024
1 parent 51be384 commit bd65f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/manual_ilog2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ fn main() {
let b: u64 = 543534;
let _ = 63 - b.leading_zeros();

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

0 comments on commit bd65f17

Please sign in to comment.