diff options
author | Martin Fischer <martin@push-f.com> | 2023-06-26 15:10:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 09:10:27 -0400 |
commit | 801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch) | |
tree | 145f840c570dd72258ef309e9d31f100a5aa5786 /core/runtime/jsruntime.rs | |
parent | ad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff) |
chore: fix typos (#19572)
Diffstat (limited to 'core/runtime/jsruntime.rs')
-rw-r--r-- | core/runtime/jsruntime.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/runtime/jsruntime.rs b/core/runtime/jsruntime.rs index 2e473e7c9..7f9e2dcd8 100644 --- a/core/runtime/jsruntime.rs +++ b/core/runtime/jsruntime.rs @@ -401,7 +401,7 @@ pub struct RuntimeOptions { pub create_params: Option<v8::CreateParams>, /// V8 platform instance to use. Used when Deno initializes V8 - /// (which it only does once), otherwise it's silenty dropped. + /// (which it only does once), otherwise it's silently dropped. pub v8_platform: Option<v8::SharedRef<v8::Platform>>, /// The store to use for transferring SharedArrayBuffers between isolates. @@ -924,7 +924,7 @@ impl JsRuntime { // macroware wraps an opfn in all the middleware let macroware = move |d| middleware.iter().fold(d, |d, m| m(d)); - // Flatten ops, apply middlware & override disabled ops + // Flatten ops, apply middleware & override disabled ops let ops: Vec<_> = exts .iter_mut() .filter_map(|e| e.init_ops()) @@ -1771,7 +1771,7 @@ impl JsRuntime { let has_dispatched_exception = state_rc.borrow_mut().dispatched_exception.is_some(); if has_dispatched_exception { - // This will be overrided in `exception_to_err_result()`. + // This will be overridden in `exception_to_err_result()`. let exception = v8::undefined(tc_scope).into(); let pending_mod_evaluate = { let mut state = state_rc.borrow_mut(); |