mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
clippy complaints
This commit is contained in:
parent
15600a8f2b
commit
1439c1a21d
6 changed files with 8 additions and 10 deletions
|
@ -112,7 +112,7 @@ pub fn basic_type_from_layout<'ctx>(
|
|||
}
|
||||
Closure(args, closure_layout, ret_layout) => {
|
||||
let closure_data =
|
||||
basic_type_from_layout(arena, context, &closure_layout.into_layout(), ptr_bytes);
|
||||
basic_type_from_layout(arena, context, &closure_layout.as_layout(), ptr_bytes);
|
||||
|
||||
let function_pointer = basic_type_from_function_layout(
|
||||
arena,
|
||||
|
|
|
@ -77,7 +77,7 @@ pub fn decrement_refcount_layout<'a, 'ctx, 'env>(
|
|||
parent,
|
||||
layout_ids,
|
||||
field_ptr,
|
||||
&closure_layout.into_layout(),
|
||||
&closure_layout.as_layout(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue