mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Apply lints
This commit is contained in:
parent
084393c326
commit
a4d7ee33c1
3 changed files with 5 additions and 5 deletions
|
@ -347,7 +347,7 @@ pub fn constrain_pattern(
|
|||
// Link the free num var with the int var and our expectation.
|
||||
let int_type = builtins::num_int(Type::Variable(precision_var));
|
||||
|
||||
let num_type_index = constraints.push_type(num_type.clone());
|
||||
let num_type_index = constraints.push_type(num_type);
|
||||
|
||||
state.constraints.push({
|
||||
let expected_index =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue