mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-24 04:22:27 +00:00
Fix clippy errors
This commit is contained in:
parent
5ea6a8bdcd
commit
43fadeacdb
2 changed files with 3 additions and 4 deletions
|
@ -12,4 +12,5 @@ package [
|
||||||
Box,
|
Box,
|
||||||
TotallyNotJson,
|
TotallyNotJson,
|
||||||
Inspect,
|
Inspect,
|
||||||
|
Task,
|
||||||
] {}
|
] {}
|
||||||
|
|
|
@ -158,15 +158,13 @@ pub fn build_host_exposed_def(
|
||||||
region: Region::zero(),
|
region: Region::zero(),
|
||||||
};
|
};
|
||||||
|
|
||||||
let def = Def {
|
Def {
|
||||||
loc_pattern: Loc::at_zero(pattern),
|
loc_pattern: Loc::at_zero(pattern),
|
||||||
loc_expr: Loc::at_zero(def_body),
|
loc_expr: Loc::at_zero(def_body),
|
||||||
expr_var,
|
expr_var,
|
||||||
pattern_vars,
|
pattern_vars,
|
||||||
annotation: Some(def_annotation),
|
annotation: Some(def_annotation),
|
||||||
};
|
}
|
||||||
|
|
||||||
def
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn build_fresh_opaque_variables(
|
fn build_fresh_opaque_variables(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue