clippy fixes

This commit is contained in:
Folkert 2020-10-17 00:40:01 +02:00
parent cbe78593c2
commit defa408e83
5 changed files with 55 additions and 23 deletions

View file

@ -733,7 +733,6 @@ pub fn constrain_expr(
let ret_type = Type::Variable(ret_var);
let closure_var = *closure_var;
let closure_ext_var = *closure_ext_var;
let closure_type = Type::Variable(closure_var);
vars.push(ret_var);
vars.push(closure_var);