Skip to content

Commit 739624f

Browse files
committed
Auto merge of #12730 - cuishuang:master, r=epage
Fix some typos
2 parents 4a470d5 + c8f4d23 commit 739624f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/cargo-test-support/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ impl Execs {
849849
/// Enables nightly features for testing
850850
///
851851
/// The list of reasons should be why nightly cargo is needed. If it is
852-
/// becuase of an unstable feature put the name of the feature as the reason,
852+
/// because of an unstable feature put the name of the feature as the reason,
853853
/// e.g. `&["print-im-a-teapot"]`
854854
pub fn masquerade_as_nightly_cargo(&mut self, reasons: &[&str]) -> &mut Self {
855855
if let Some(ref mut p) = self.process_builder {
@@ -1211,7 +1211,7 @@ fn _process(t: &OsStr) -> ProcessBuilder {
12111211
/// Enable nightly features for testing
12121212
pub trait ChannelChanger {
12131213
/// The list of reasons should be why nightly cargo is needed. If it is
1214-
/// becuase of an unstable feature put the name of the feature as the reason,
1214+
/// because of an unstable feature put the name of the feature as the reason,
12151215
/// e.g. `&["print-im-a-teapot"]`.
12161216
fn masquerade_as_nightly_cargo(self, _reasons: &[&str]) -> Self;
12171217
}

deny.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ wildcards = "allow"
192192
# * all - Both lowest-version and simplest-path are used
193193
highlight = "all"
194194
# The default lint level for `default` features for crates that are members of
195-
# the workspace that is being checked. This can be overriden by allowing/denying
195+
# the workspace that is being checked. This can be overridden by allowing/denying
196196
# `default` on a crate-by-crate basis if desired.
197197
workspace-default-features = "allow"
198198
# The default lint level for `default` features for external crates that are not
199-
# members of the workspace. This can be overriden by allowing/denying `default`
199+
# members of the workspace. This can be overridden by allowing/denying `default`
200200
# on a crate-by-crate basis if desired.
201201
external-default-features = "allow"
202202
# List of crates that are allowed. Use with care!

0 commit comments

Comments
 (0)