From 801b9ec62d94f201e67d053ee90dae0b70e50a42 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 26 Jun 2023 15:10:27 +0200 Subject: chore: fix typos (#19572) --- core/runtime/jsruntime.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/runtime/jsruntime.rs') 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 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>, /// 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(); -- cgit v1.2.3