fix(clippy): do not need let binding

This commit is contained in:
rvcas 2020-12-21 11:45:05 -05:00
parent d08757f161
commit 3ea4858eb5

View file

@ -427,9 +427,8 @@ fn unique_num(val_type: Type, uvar: Variable) -> Type {
let val_utype = attr_type(Bool::variable(uvar), val_type); let val_utype = attr_type(Bool::variable(uvar), val_type);
let num_utype = num_num(val_utype); let num_utype = num_num(val_utype);
let num_type = attr_type(Bool::variable(uvar), num_utype);
num_type attr_type(Bool::variable(uvar), num_utype)
} }
fn unique_integer(var_store: &mut VarStore, val_type: Type) -> (Variable, Type) { fn unique_integer(var_store: &mut VarStore, val_type: Type) -> (Variable, Type) {