mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-09 21:21:07 +00:00
Wrapped overlong line
This commit is contained in:
+3
-1
@@ -474,7 +474,9 @@ pub fn inject_gas_counter<R: Rules>(
|
||||
error = true;
|
||||
break;
|
||||
}
|
||||
if rules.memory_grow_cost().is_some() && inject_grow_counter(func_body.code_mut(), total_func) > 0 {
|
||||
if rules.memory_grow_cost().is_some()
|
||||
&& inject_grow_counter(func_body.code_mut(), total_func) > 0
|
||||
{
|
||||
need_grow_counter = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user