Skip to content

Commit 12fa1da

Browse files
authored
chore: fix some typos in comment (#15877)
### What does this PR try to resolve? fix some typos in comment ### How to test and review this PR? No need.
2 parents 15165ca + e235d04 commit 12fa1da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/core/manifest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ impl Target {
10861086
*self.kind() == TargetKind::CustomBuild
10871087
}
10881088

1089-
/// Returns `true` if it is a compile time depencencies, e.g., build script or proc macro
1089+
/// Returns `true` if it is a compile time dependencies, e.g., build script or proc macro
10901090
pub fn is_compile_time_dependency(&self) -> bool {
10911091
self.is_custom_build() || self.proc_macro()
10921092
}

src/doc/src/reference/build-cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ both directories point to a directory named `target` in the root of your
77
value, or the `--target-dir` command-line flag. To change the location of the build-dir, you can set the
88
`CARGO_BUILD_BUILD_DIR` [environment variable] or the [`build.build-dir`] config value.
99

10-
Artifacts are split in two catagories:
10+
Artifacts are split in two categories:
1111
* Final build artifacts
1212
* Final build artifacts are output meant for end users of Cargo
1313
* e.g. binaries for bin crates, output of `cargo doc`, Cargo `--timings` reports

0 commit comments

Comments
 (0)