mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
chore: fix some comments
Signed-off-by: VitalikButerinEth <csyingyu@126.com>
This commit is contained in:
parent
2c8d176e60
commit
d3e05d588e
@ -1050,7 +1050,7 @@ impl<'gctx> DrainState<'gctx> {
|
||||
if unit.is_local() {
|
||||
// Do not show this if there are any errors or no fixable warnings
|
||||
if let FixableWarnings::Positive(fixable) = count.fixable {
|
||||
// `cargo fix` doesnt have an option for custom builds
|
||||
// `cargo fix` doesn't have an option for custom builds
|
||||
if !unit.target.is_custom_build() {
|
||||
// To make sure the correct command is shown for `clippy` we
|
||||
// check if `RUSTC_WORKSPACE_WRAPPER` is set and pointing towards
|
||||
|
@ -899,7 +899,7 @@ fn register_patch_entries(
|
||||
}
|
||||
|
||||
/// Locks each `[replace]` entry to a specific Package ID
|
||||
/// if the lockfile contains any correspoding previous replacement.
|
||||
/// if the lockfile contains any corresponding previous replacement.
|
||||
fn lock_replacements(
|
||||
ws: &Workspace<'_>,
|
||||
previous: Option<&Resolve>,
|
||||
|
@ -184,7 +184,7 @@ pub enum QueryKind {
|
||||
/// whereas an `Registry` source may return dependencies that have the same
|
||||
/// canonicalization.
|
||||
Alternatives,
|
||||
/// Match a denpendency in all ways and will normalize the package name.
|
||||
/// Match a dependency in all ways and will normalize the package name.
|
||||
/// Each source defines what normalizing means.
|
||||
Normalized,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user