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 28, 2024
1 parent 1ee0bfe commit c2e564a
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 @@ -623,7 +623,7 @@ struct PassState {
#[test]
fn test_dirty_mask() {
use std::mem::size_of;
assert_eq!(MAX_ROOT_ELEMENTS, size_of::<u64>() * 8);
assert_eq!(MAX_ROOT_ELEMENTS, (u64::BITS as usize));
}

impl PassState {
Expand Down

0 comments on commit c2e564a

Please sign in to comment.