diff --git a/cli/graph_util.rs b/cli/graph_util.rs index 0ed591fb7c..f1aa443288 100644 --- a/cli/graph_util.rs +++ b/cli/graph_util.rs @@ -166,7 +166,7 @@ pub fn graph_valid( } } -/// Checks the lockfile against the graph and and exits on errors. +/// Checks the lockfile against the graph and exits on errors. pub fn graph_lock_or_exit(graph: &ModuleGraph, lockfile: &mut Lockfile) { for module in graph.modules() { let source = match module { diff --git a/cli/main.rs b/cli/main.rs index c39547daa0..185982117a 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -319,7 +319,7 @@ pub fn main() { let args: Vec = env::args().collect(); // NOTE(lucacasonato): due to new PKU feature introduced in V8 11.6 we need to - // initalize the V8 platform on a parent thread of all threads that will spawn + // initialize the V8 platform on a parent thread of all threads that will spawn // V8 isolates. let future = async move { diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs index 74c9987c10..9cb3cd1c26 100644 --- a/cli/tools/repl/editor.rs +++ b/cli/tools/repl/editor.rs @@ -524,7 +524,7 @@ impl ConditionalEventHandler for ReverseSearchHistoryEventHandler { /// A custom tab key event handler /// It uses a heuristic to determine if the user is requesting completion or if they want to insert an actual tab /// The heuristic goes like this: -/// - If the last character before the cursor is whitespace, the the user wants to insert a tab +/// - If the last character before the cursor is whitespace, the user wants to insert a tab /// - Else the user is requesting completion struct TabEventHandler; impl ConditionalEventHandler for TabEventHandler { diff --git a/cli/tools/test/mod.rs b/cli/tools/test/mod.rs index 6b592f95e9..eb0cdd4cef 100644 --- a/cli/tools/test/mod.rs +++ b/cli/tools/test/mod.rs @@ -762,7 +762,7 @@ async fn run_tests_for_worker_inner( // Poll event loop once, to allow all ops that are already resolved, but haven't // responded to settle. - // TODO(mmastrac): we should provide an API to poll the event loop until no futher + // TODO(mmastrac): we should provide an API to poll the event loop until no further // progress is made. poll_event_loop(worker).await?; diff --git a/cli/tools/upgrade.rs b/cli/tools/upgrade.rs index efe7e707eb..c66fa0b3e1 100644 --- a/cli/tools/upgrade.rs +++ b/cli/tools/upgrade.rs @@ -497,7 +497,7 @@ pub async fn upgrade( let archive_data = download_package(client, &download_url) .await - .with_context(|| format!("Failed downloading {download_url}. The version you requested may not have been built for the current architechture."))?; + .with_context(|| format!("Failed downloading {download_url}. The version you requested may not have been built for the current architecture."))?; log::info!("Deno is upgrading to version {}", &install_version); diff --git a/ext/http/http_next.rs b/ext/http/http_next.rs index e8c7ffbccd..99d602fcc8 100644 --- a/ext/http/http_next.rs +++ b/ext/http/http_next.rs @@ -289,7 +289,7 @@ pub fn op_http_set_promise_complete(external: *const c_void, status: u16) { fn set_promise_complete(http: Rc, status: u16) { // The Javascript code should never provide a status that is invalid here (see 23_response.js), so we - // will quitely ignore invalid values. + // will quietly ignore invalid values. if let Ok(code) = StatusCode::from_u16(status) { http.response_parts().status = code; } @@ -686,7 +686,7 @@ fn set_response( http.set_response_body(response_fn(compression)); // The Javascript code should never provide a status that is invalid here (see 23_response.js), so we - // will quitely ignore invalid values. + // will quietly ignore invalid values. if let Ok(code) = StatusCode::from_u16(status) { http.response_parts().status = code; } diff --git a/tests/integration/bundle_tests.rs b/tests/integration/bundle_tests.rs index 836a692b68..0738a0cfec 100644 --- a/tests/integration/bundle_tests.rs +++ b/tests/integration/bundle_tests.rs @@ -118,7 +118,7 @@ fn bundle_circular() { .arg(&bundle_path) .output() .unwrap(); - // check the output of the the bundle program. + // check the output of the bundle program. assert_ends_with!( std::str::from_utf8(&output.stdout).unwrap().trim(), "f2\nf1", @@ -150,7 +150,7 @@ fn bundle_single_module() { .arg(&bundle) .output() .unwrap(); - // check the output of the the bundle program. + // check the output of the bundle program. assert_ends_with!( std::str::from_utf8(&output.stdout).unwrap().trim(), "Hello world!",