mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Remove unnecessary clone
This commit is contained in:
parent
731f7a11a1
commit
75b439cb31
1 changed files with 1 additions and 2 deletions
|
@ -1105,8 +1105,7 @@ fn call_spec(
|
|||
let _bool = call_function!(builder, block, [element]);
|
||||
|
||||
// ListFindUnsafe returns { value: v, found: Bool=Int1 }
|
||||
let output_layouts =
|
||||
vec![arg_layouts[0].clone(), Layout::Builtin(Builtin::Int1)];
|
||||
let output_layouts = vec![arg_layouts[0], Layout::Builtin(Builtin::Int1)];
|
||||
let output_layout = Layout::Struct(&output_layouts);
|
||||
let output_type = layout_spec(builder, &output_layout)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue