diff --git a/src/cargo/util/toml/mod.rs b/src/cargo/util/toml/mod.rs index 9313a0ddd2c0..8d8c65a21b7d 100644 --- a/src/cargo/util/toml/mod.rs +++ b/src/cargo/util/toml/mod.rs @@ -2778,7 +2778,7 @@ fn prepare_targets_for_publish( prepared.push(target); } // Ensure target order is deterministic, particularly for `cargo vendor` where re-vendoring - // shuld not cause changes. + // should not cause changes. // // `unstable` should be deterministic because we enforce that `t.name` is unique prepared.sort_unstable_by_key(|t| t.name.clone());