Skip to content

Commit 0b72605

Browse files
committed
Auto merge of #13982 - VitalikButerinEth:master, r=hi-rustin
chore: fix some comments
2 parents 2c8d176 + d3e05d5 commit 0b72605

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/cargo/core/compiler/job_queue/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ impl<'gctx> DrainState<'gctx> {
10501050
if unit.is_local() {
10511051
// Do not show this if there are any errors or no fixable warnings
10521052
if let FixableWarnings::Positive(fixable) = count.fixable {
1053-
// `cargo fix` doesnt have an option for custom builds
1053+
// `cargo fix` doesn't have an option for custom builds
10541054
if !unit.target.is_custom_build() {
10551055
// To make sure the correct command is shown for `clippy` we
10561056
// check if `RUSTC_WORKSPACE_WRAPPER` is set and pointing towards

src/cargo/ops/resolve.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ fn register_patch_entries(
899899
}
900900

901901
/// Locks each `[replace]` entry to a specific Package ID
902-
/// if the lockfile contains any correspoding previous replacement.
902+
/// if the lockfile contains any corresponding previous replacement.
903903
fn lock_replacements(
904904
ws: &Workspace<'_>,
905905
previous: Option<&Resolve>,

src/cargo/sources/source.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ pub enum QueryKind {
184184
/// whereas an `Registry` source may return dependencies that have the same
185185
/// canonicalization.
186186
Alternatives,
187-
/// Match a denpendency in all ways and will normalize the package name.
187+
/// Match a dependency in all ways and will normalize the package name.
188188
/// Each source defines what normalizing means.
189189
Normalized,
190190
}

0 commit comments

Comments
 (0)