Skip to content

Commit

Permalink
Fix clippy::precedence lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Dec 29, 2024
1 parent 9a4e36b commit 4974a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fidget/src/mesh/cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl From<Cell> for CellData {
Cell::Branch { index, thread } => {
#[cfg(not(target_arch = "wasm32"))]
debug_assert!(index < (1 << 54));
0b10 << 62 | ((thread as u64) << 54) | index as u64
(0b10 << 62) | ((thread as u64) << 54) | index as u64
}
Cell::Leaf(Leaf { mask, index }) => {
#[cfg(not(target_arch = "wasm32"))]
Expand Down

0 comments on commit 4974a87

Please sign in to comment.