mirror of
https://github.com/rust-lang/cargo
synced 2024-09-29 20:44:41 +00:00
Fix some typos
Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
parent
12860b6d79
commit
c8f4d234bb
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue