fix clippy's qualms

This commit is contained in:
Folkert 2020-10-04 00:20:13 +02:00
parent c4b4cb013e
commit faa5b2c830

View file

@ -1981,7 +1981,7 @@ pub fn with_hole<'a>(
ext_var, ext_var,
field_var, field_var,
loc_expr: Box::new(Located::at_zero(roc_can::expr::Expr::Var(record_symbol))), loc_expr: Box::new(Located::at_zero(roc_can::expr::Expr::Var(record_symbol))),
field: field.clone(), field,
}; };
let loc_body = Located::at_zero(body); let loc_body = Located::at_zero(body);