Remove unneeded clone

This commit is contained in:
Ayaz Hafiz 2022-08-15 11:15:29 -05:00
parent fb4282757a
commit f08fc43210
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -2161,7 +2161,7 @@ pub fn call_higher_order_lowlevel<'a>(
let boxed_local_id = match backend.storage.ensure_value_has_local(
&mut backend.code_builder,
boxed_sym,
boxed_storage.clone(),
boxed_storage,
) {
StoredValue::Local { local_id, .. } => local_id,
_ => internal_error!("Expected a local"),