diff options
| author | Alejandra González <blyxyas@gmail.com> | 2024-12-05 21:56:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-05 21:56:21 +0000 |
| commit | f83a227d397cf2ed7ec22ba5996e1c5339a3e7bf (patch) | |
| tree | 7f852aa7182626b1ed78ab311752758ef9677da3 /src | |
| parent | a5e46a6b080f77035a7ccfab99e42d109a112862 (diff) | |
| parent | 4907940a55103046e3cbf0bcd6ece9cb5a294e68 (diff) | |
Fix various typos (#13785)
I ran [Typos](https://github.com/crate-ci/typos) on the project and fixed all of the easy spelling mistakes! I made sure to avoid UI tests, since those changes are more challenging to review due to the changes in `.stderr` files. ``` changelog: Fixed several typos. ``` - \[x] `cargo test` passes locally - \[x] Run `cargo dev fmt`
Diffstat (limited to 'src')
| -rw-r--r-- | src/driver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.rs b/src/driver.rs index c66837dc998..5ba392c4b91 100644 --- a/src/driver.rs +++ b/src/driver.rs @@ -284,7 +284,7 @@ pub fn main() { let cap_lints_allow = arg_value(&orig_args, "--cap-lints", |val| val == "allow").is_some() && arg_value(&orig_args, "--force-warn", |val| val.contains("clippy::")).is_none(); - // If `--no-deps` is enabled only lint the primary pacakge + // If `--no-deps` is enabled only lint the primary package let relevant_package = !no_deps || env::var("CARGO_PRIMARY_PACKAGE").is_ok(); // Do not run Clippy for Cargo's info queries so that invalid CLIPPY_ARGS are not cached |
