Apply lints

This commit is contained in:
Ayaz Hafiz 2022-10-24 18:23:36 -05:00
parent 084393c326
commit a4d7ee33c1
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 5 additions and 5 deletions

View file

@ -1642,7 +1642,7 @@ fn constrain_function_def(
AnnotationSource::TypedBody {
region: annotation.region,
},
ret_type.clone(),
ret_type,
);
let ret_constraint = constrain_expr(
@ -2366,7 +2366,7 @@ fn constrain_typed_def(
AnnotationSource::TypedBody {
region: annotation.region,
},
ret_type.clone(),
ret_type,
);
let ret_constraint = constrain_expr(
@ -3140,7 +3140,7 @@ fn constraint_recursive_function(
env,
loc_body_expr.region,
&loc_body_expr.value,
NoExpectation(ret_type.clone()),
NoExpectation(ret_type),
);
let expr_con = attach_resolution_constraints(constraints, env, expr_con);