mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
clippy
This commit is contained in:
parent
c1265574b3
commit
cf0b1ba206
3 changed files with 5 additions and 4 deletions
|
@ -217,7 +217,7 @@ pub fn block_of_memory<'ctx>(
|
|||
block_of_memory_help(context, union_size)
|
||||
}
|
||||
|
||||
fn block_of_memory_help<'ctx>(context: &'ctx Context, union_size: u32) -> BasicTypeEnum<'ctx> {
|
||||
fn block_of_memory_help(context: &Context, union_size: u32) -> BasicTypeEnum<'_> {
|
||||
// The memory layout of Union is a bit tricky.
|
||||
// We have tags with different memory layouts, that are part of the same type.
|
||||
// For llvm, all tags must have the same memory layout.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue