diff options
Diffstat (limited to 'runtime/ops')
-rw-r--r-- | runtime/ops/os/mod.rs | 1 | ||||
-rw-r--r-- | runtime/ops/runtime.rs | 1 | ||||
-rw-r--r-- | runtime/ops/worker_host.rs | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/runtime/ops/os/mod.rs b/runtime/ops/os/mod.rs index ac8ec541d..83ad8164f 100644 --- a/runtime/ops/os/mod.rs +++ b/runtime/ops/os/mod.rs @@ -45,7 +45,6 @@ pub fn init(exit_code: ExitCode) -> Extension { init_ops(&mut builder) .state(move |state| { state.put::<ExitCode>(exit_code.clone()); - Ok(()) }) .build() } diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index 22a481e77..5ce9966e0 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -12,7 +12,6 @@ pub fn init(main_module: ModuleSpecifier) -> Extension { .ops(vec![op_main_module::decl()]) .state(move |state| { state.put::<ModuleSpecifier>(main_module.clone()); - Ok(()) }) .build() } diff --git a/runtime/ops/worker_host.rs b/runtime/ops/worker_host.rs index 71009be8f..6007a3260 100644 --- a/runtime/ops/worker_host.rs +++ b/runtime/ops/worker_host.rs @@ -111,8 +111,6 @@ pub fn init( let format_js_error_fn_holder = FormatJsErrorFnHolder(format_js_error_fn.clone()); state.put::<FormatJsErrorFnHolder>(format_js_error_fn_holder); - - Ok(()) }) .ops(vec![ op_create_worker::decl(), |