From c8f4d234bbb9b879c8d1177a9495e169b6417ddc Mon Sep 17 00:00:00 2001 From: cui fliter Date: Sun, 24 Sep 2023 23:10:07 +0800 Subject: [PATCH] Fix some typos Signed-off-by: cui fliter --- crates/cargo-test-support/src/lib.rs | 4 ++-- deny.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/cargo-test-support/src/lib.rs b/crates/cargo-test-support/src/lib.rs index 353f923101c..1a874272071 100644 --- a/crates/cargo-test-support/src/lib.rs +++ b/crates/cargo-test-support/src/lib.rs @@ -849,7 +849,7 @@ impl Execs { /// Enables nightly features for testing /// /// The list of reasons should be why nightly cargo is needed. If it is - /// becuase of an unstable feature put the name of the feature as the reason, + /// because of an unstable feature put the name of the feature as the reason, /// e.g. `&["print-im-a-teapot"]` pub fn masquerade_as_nightly_cargo(&mut self, reasons: &[&str]) -> &mut Self { if let Some(ref mut p) = self.process_builder { @@ -1211,7 +1211,7 @@ fn _process(t: &OsStr) -> ProcessBuilder { /// Enable nightly features for testing pub trait ChannelChanger { /// The list of reasons should be why nightly cargo is needed. If it is - /// becuase of an unstable feature put the name of the feature as the reason, + /// because of an unstable feature put the name of the feature as the reason, /// e.g. `&["print-im-a-teapot"]`. fn masquerade_as_nightly_cargo(self, _reasons: &[&str]) -> Self; } diff --git a/deny.toml b/deny.toml index 38364817143..746113f3cae 100644 --- a/deny.toml +++ b/deny.toml @@ -192,11 +192,11 @@ wildcards = "allow" # * all - Both lowest-version and simplest-path are used highlight = "all" # The default lint level for `default` features for crates that are members of -# the workspace that is being checked. This can be overriden by allowing/denying +# the workspace that is being checked. This can be overridden by allowing/denying # `default` on a crate-by-crate basis if desired. workspace-default-features = "allow" # The default lint level for `default` features for external crates that are not -# members of the workspace. This can be overriden by allowing/denying `default` +# members of the workspace. This can be overridden by allowing/denying `default` # on a crate-by-crate basis if desired. external-default-features = "allow" # List of crates that are allowed. Use with care!