mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
clippy
This commit is contained in:
parent
13b2c23c01
commit
82ff8a8edf
2 changed files with 2 additions and 5 deletions
|
@ -95,7 +95,7 @@ pub fn gen_from_mono_module(
|
|||
}
|
||||
|
||||
if name.starts_with("roc_builtins.dict") || name.starts_with("dict.RocDict") {
|
||||
// function.add_attribute(AttributeLoc::Function, attr);
|
||||
function.add_attribute(AttributeLoc::Function, attr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -921,10 +921,7 @@ pub fn list_walk<'a, 'ctx, 'env>(
|
|||
);
|
||||
}
|
||||
|
||||
(
|
||||
BasicValueEnum::StructValue(ptr_and_data),
|
||||
Layout::Closure(_, closure_layout, ret_elem_layout),
|
||||
) => {
|
||||
(BasicValueEnum::StructValue(ptr_and_data), Layout::Closure(_, _, _)) => {
|
||||
let builder = env.builder;
|
||||
|
||||
let func_ptr = builder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue