diff options
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r-- | runtime/ops/process.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs index 7c45c47fc..3bc516a80 100644 --- a/runtime/ops/process.rs +++ b/runtime/ops/process.rs @@ -99,11 +99,7 @@ struct RunInfo { } #[op] -fn op_run( - state: &mut OpState, - run_args: RunArgs, - _: (), -) -> Result<RunInfo, AnyError> { +fn op_run(state: &mut OpState, run_args: RunArgs) -> Result<RunInfo, AnyError> { let args = run_args.cmd; state.borrow_mut::<Permissions>().run.check(&args[0])?; let env = run_args.env; @@ -227,7 +223,6 @@ struct ProcessStatus { async fn op_run_status( state: Rc<RefCell<OpState>>, rid: ResourceId, - _: (), ) -> Result<ProcessStatus, AnyError> { let resource = state .borrow_mut() |