Remove clone

This commit is contained in:
Ayaz Hafiz 2022-10-04 15:37:03 -05:00
parent 5870de54ae
commit 7421485973
No known key found for this signature in database
GPG Key ID: 0E2A37416A25EF58

View File

@ -79,7 +79,7 @@ fn hash_record(env: &mut Env<'_>, fn_name: Symbol, fields: Vec<Lowercase>) -> (E
(Expr::Var(hasher_sym), hasher_var),
|(body, body_var), (field_name, field_var, _)| {
let field_name = env.subs[field_name].clone();
let field_var = env.subs[field_var].clone();
let field_var = env.subs[field_var];
let field_access = Expr::Access {
record_var,