Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
apetkov-so committed Jan 16, 2025
1 parent 83ad276 commit cc082d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions crates/aranya-policy-vm/src/tests/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ where
ctx: &CommandContext<'_>,
) -> Result<(), MachineError> {
match module {
0 => self
.print_ffi
.call(procedure, stack, &ctx, &mut self.engine),
0 => self.print_ffi.call(procedure, stack, ctx, &mut self.engine),
_ => Err(MachineError::new(MachineErrorType::FfiModuleNotDefined(
module,
))),
Expand Down
4 changes: 1 addition & 3 deletions crates/aranya-policy-vm/tests/bits/testio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ where
ctx: &CommandContext<'_>,
) -> Result<(), MachineError> {
match module {
0 => self
.print_ffi
.call(procedure, stack, &ctx, &mut self.engine),
0 => self.print_ffi.call(procedure, stack, ctx, &mut self.engine),
_ => Err(MachineError::new(MachineErrorType::FfiModuleNotDefined(
module,
))),
Expand Down

0 comments on commit cc082d8

Please sign in to comment.