mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Auto merge of #13982 - VitalikButerinEth:master, r=hi-rustin
chore: fix some comments
This commit is contained in:
commit
0b72605141
@ -1050,7 +1050,7 @@ impl<'gctx> DrainState<'gctx> {
|
|||||||
if unit.is_local() {
|
if unit.is_local() {
|
||||||
// Do not show this if there are any errors or no fixable warnings
|
// Do not show this if there are any errors or no fixable warnings
|
||||||
if let FixableWarnings::Positive(fixable) = count.fixable {
|
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() {
|
if !unit.target.is_custom_build() {
|
||||||
// To make sure the correct command is shown for `clippy` we
|
// To make sure the correct command is shown for `clippy` we
|
||||||
// check if `RUSTC_WORKSPACE_WRAPPER` is set and pointing towards
|
// 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
|
/// 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(
|
fn lock_replacements(
|
||||||
ws: &Workspace<'_>,
|
ws: &Workspace<'_>,
|
||||||
previous: Option<&Resolve>,
|
previous: Option<&Resolve>,
|
||||||
|
@ -184,7 +184,7 @@ pub enum QueryKind {
|
|||||||
/// whereas an `Registry` source may return dependencies that have the same
|
/// whereas an `Registry` source may return dependencies that have the same
|
||||||
/// canonicalization.
|
/// canonicalization.
|
||||||
Alternatives,
|
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.
|
/// Each source defines what normalizing means.
|
||||||
Normalized,
|
Normalized,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user