Skip to content

Commit c016ff9

Browse files
committed
f
1 parent 12fdef1 commit c016ff9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

bindings/rust/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,7 @@ impl From<ExecutionResult> for sys::FizzyExecutionResult {
139139
impl Instance {
140140
pub fn execute(&mut self, func_idx: u32, args: &[Value]) -> ExecutionResult {
141141
ExecutionResult {
142-
0: unsafe {
143-
sys::fizzy_execute(self.ptr.as_ptr(), func_idx, args.as_ptr(), args.len(), 0)
144-
},
142+
0: unsafe { sys::fizzy_execute(self.ptr.as_ptr(), func_idx, args.as_ptr(), 0) },
145143
}
146144
}
147145
}

0 commit comments

Comments
 (0)