From d5ef14eca65c78f4463a6082b392c3a8b097f7a1 Mon Sep 17 00:00:00 2001 From: Curtis Allen Date: Wed, 29 Jun 2022 18:26:58 -0600 Subject: [PATCH] fix(runtime): derive default for deno_runtime::ExitCode (#15017) --- runtime/worker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/worker.rs b/runtime/worker.rs index fd937559f3..f9274babe9 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -35,7 +35,7 @@ use std::task::Poll; pub type FormatJsErrorFn = dyn Fn(&JsError) -> String + Sync + Send; -#[derive(Clone)] +#[derive(Clone, Default)] pub struct ExitCode(Arc); impl ExitCode {