mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
Follow clippy's suggestions
This commit is contained in:
parent
f2f305b7a8
commit
99b14aed27
2 changed files with 8 additions and 8 deletions
|
@ -146,7 +146,7 @@ fn type_to_variable(subs: &mut Subs, aliases: &ImMap<Box<str>, Variable>, typ: T
|
|||
for (arg, arg_type) in args {
|
||||
let arg_var = type_to_variable(subs, aliases, arg_type.clone());
|
||||
|
||||
arg_vars.push((arg.clone(), arg_var.clone()));
|
||||
arg_vars.push((arg.clone(), arg_var));
|
||||
new_aliases.insert(arg.into(), arg_var);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue