From d4b3b39cc021bfac76e023eedd217fe0c2df9978 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Mon, 4 Mar 2024 22:28:57 +0800 Subject: chore: fix typos (#22677) --- cli/tools/repl/editor.rs | 2 +- cli/tools/test/mod.rs | 2 +- cli/tools/upgrade.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tools') diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs index 74c9987c1..9cb3cd1c2 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 6b592f95e..eb0cdd4ce 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 efe7e707e..c66fa0b3e 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); -- cgit v1.2.3