1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00

fix(runtime): derive default for deno_runtime::ExitCode (#15017)

This commit is contained in:
Curtis Allen 2022-06-29 18:26:58 -06:00 committed by GitHub
parent 8c4420c005
commit d5ef14eca6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ use std::task::Poll;
pub type FormatJsErrorFn = dyn Fn(&JsError) -> String + Sync + Send; pub type FormatJsErrorFn = dyn Fn(&JsError) -> String + Sync + Send;
#[derive(Clone)] #[derive(Clone, Default)]
pub struct ExitCode(Arc<AtomicI32>); pub struct ExitCode(Arc<AtomicI32>);
impl ExitCode { impl ExitCode {