diff options
-rw-r--r-- | cli/graph_util.rs | 2 | ||||
-rw-r--r-- | cli/main.rs | 2 | ||||
-rw-r--r-- | cli/tools/repl/editor.rs | 2 | ||||
-rw-r--r-- | cli/tools/test/mod.rs | 2 | ||||
-rw-r--r-- | cli/tools/upgrade.rs | 2 | ||||
-rw-r--r-- | ext/http/http_next.rs | 4 | ||||
-rw-r--r-- | tests/integration/bundle_tests.rs | 4 |
7 files changed, 9 insertions, 9 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs index 0ed591fb7..f1aa44328 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 c39547daa..185982117 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -319,7 +319,7 @@ pub fn main() { let args: Vec<String> = 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 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); diff --git a/ext/http/http_next.rs b/ext/http/http_next.rs index e8c7ffbcc..99d602fcc 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<HttpRecord>, 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 836a692b6..0738a0cfe 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!", |