Skip to content

Commit 0e282f7

Browse files
committed
chore: fix some typos in comment
Signed-off-by: whosehang <whosehang@outlook.com>
1 parent 8b5c351 commit 0e282f7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/cargo/core/compiler/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,7 @@ fn check_cfg_args(unit: &Unit) -> Vec<OsString> {
14881488
arg_feature.push("))");
14891489

14901490
// In addition to the package features, we also include the `test` cfg (since
1491-
// compiler-team#785, as to be able to someday apply yt conditionaly), as well
1491+
// compiler-team#785, as to be able to someday apply yt conditionally), as well
14921492
// the `docsrs` cfg from the docs.rs service.
14931493
//
14941494
// We include `docsrs` here (in Cargo) instead of rustc, since there is a much closer

src/cargo/util/toml_mut/manifest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ impl LocalManifest {
452452
Ok(())
453453
}
454454

455-
/// Allow mutating depedencies, wherever they live.
455+
/// Allow mutating dependencies, wherever they live.
456456
/// Copied from cargo-edit.
457457
pub fn get_dependency_tables_mut(
458458
&mut self,

src/doc/src/reference/unstable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ The path to where internal files used as part of the build are placed.
264264

265265
This option supports path templating.
266266

267-
Avaiable template variables:
267+
Available template variables:
268268
* `{workspace-root}` resolves to root of the current workspace.
269269
* `{cargo-cache-home}` resolves to `CARGO_HOME`
270270
* `{workspace-path-hash}` resolves to a hash of the manifest path

tests/testsuite/build_script.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5420,7 +5420,7 @@ fn rerun_if_published_directory() {
54205420

54215421
p.cargo("check").run();
54225422

5423-
// Delete regitry src to make directories being recreated with the latest timestamp.
5423+
// Delete registry src to make directories being recreated with the latest timestamp.
54245424
cargo_home().join("registry/src").rm_rf();
54255425

54265426
p.cargo("check --verbose")

0 commit comments

Comments
 (0)