diff options
author | Curtis Allen <curtis.n.allen@gmail.com> | 2022-06-29 18:26:58 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-30 02:26:58 +0200 |
commit | d5ef14eca65c78f4463a6082b392c3a8b097f7a1 (patch) | |
tree | ef5e15c1a70984bc31dc0d1391692e6ea360e9d8 /runtime/worker.rs | |
parent | 8c4420c0052ed374ce1692e5dfc8e4c67367a397 (diff) |
fix(runtime): derive default for deno_runtime::ExitCode (#15017)
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r-- | runtime/worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs index fd937559f..f9274babe 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<AtomicI32>); impl ExitCode { |