Skip to content

Commit

Permalink
fix: clippy warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Jul 30, 2024
1 parent 89ae563 commit 7d25dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/ast_codegen/src/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl KnownLayout {
2 => u16::MAX as u128,
4 => u32::MAX as u128,
8 => u64::MAX as u128,
16 => u128::MAX as u128,
16 => u128::MAX,
_ => unreachable!("We do not support paddings bigger than 16 bytes."),
};
self.consume_niches(n, can_resize);
Expand Down

0 comments on commit 7d25dc6

Please sign in to comment.