mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Remove redundant pattern match
This commit is contained in:
parent
8fe9758460
commit
8636299155
1 changed files with 4 additions and 4 deletions
|
@ -556,7 +556,9 @@ impl<'a> Storage<'a> {
|
|||
}
|
||||
|
||||
StoredValue::Local {
|
||||
value_type, size, ..
|
||||
value_type,
|
||||
size,
|
||||
local_id,
|
||||
} => {
|
||||
use roc_wasm_module::Align::*;
|
||||
|
||||
|
@ -580,9 +582,7 @@ impl<'a> Storage<'a> {
|
|||
}
|
||||
};
|
||||
|
||||
if let StoredValue::Local { local_id, .. } = to_storage {
|
||||
code_builder.set_local(local_id);
|
||||
}
|
||||
code_builder.set_local(local_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue