Fix clippy errors

This commit is contained in:
Sam Mohr 2024-06-26 03:15:06 -07:00
parent 5ea6a8bdcd
commit 43fadeacdb
No known key found for this signature in database
GPG key ID: EA41D161A3C1BC99
2 changed files with 3 additions and 4 deletions

View file

@ -12,4 +12,5 @@ package [
Box, Box,
TotallyNotJson, TotallyNotJson,
Inspect, Inspect,
Task,
] {} ] {}

View file

@ -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(