summaryrefslogtreecommitdiff
path: root/cli/tools
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2024-03-04 22:28:57 +0800
committerGitHub <noreply@github.com>2024-03-04 14:28:57 +0000
commitd4b3b39cc021bfac76e023eedd217fe0c2df9978 (patch)
tree6d1e72ffc8a0672dbf0e6c8b239930de2eaac8d6 /cli/tools
parent11db68ce96dfe561da6d7f4938e412635dc688d7 (diff)
chore: fix typos (#22677)
Diffstat (limited to 'cli/tools')
-rw-r--r--cli/tools/repl/editor.rs2
-rw-r--r--cli/tools/test/mod.rs2
-rw-r--r--cli/tools/upgrade.rs2
3 files changed, 3 insertions, 3 deletions
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);