* Remove unnecessary references

* Shorten expressions

* Remove unnecessary reference

* Simplify expression

* Fix formatting
This commit is contained in:
Chevdor
2021-07-27 15:14:55 +02:00
committed by GitHub
parent a0b548b37d
commit cb023973e8
7 changed files with 25 additions and 37 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ fn compute_stack_costs(module: &elements::Module) -> Result<Vec<u32>, Error> {
// We can't calculate stack_cost of the import functions.
Ok(0)
} else {
compute_stack_cost(func_idx as u32, &module)
compute_stack_cost(func_idx as u32, module)
}
})
.collect()