Skip to content

Commit

Permalink
chore(dx12): satisfy clippy::manual_bits
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Aug 29, 2024
1 parent 6710d94 commit 48eb02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/dx12/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ struct PassState {

#[test]
fn test_dirty_mask() {
assert_eq!(MAX_ROOT_ELEMENTS, mem::size_of::<u64>() * 8);
assert_eq!(MAX_ROOT_ELEMENTS, u64::BITS as usize);
}

impl PassState {
Expand Down

0 comments on commit 48eb02b

Please sign in to comment.