diff --git a/src/cargo/core/manifest.rs b/src/cargo/core/manifest.rs index 273bd21df80..eb24127775e 100644 --- a/src/cargo/core/manifest.rs +++ b/src/cargo/core/manifest.rs @@ -1086,7 +1086,7 @@ impl Target { *self.kind() == TargetKind::CustomBuild } - /// Returns `true` if it is a compile time depencencies, e.g., build script or proc macro + /// Returns `true` if it is a compile time dependencies, e.g., build script or proc macro pub fn is_compile_time_dependency(&self) -> bool { self.is_custom_build() || self.proc_macro() } diff --git a/src/doc/src/reference/build-cache.md b/src/doc/src/reference/build-cache.md index 5f0c071b0fd..9c05bf2d594 100644 --- a/src/doc/src/reference/build-cache.md +++ b/src/doc/src/reference/build-cache.md @@ -7,7 +7,7 @@ both directories point to a directory named `target` in the root of your value, or the `--target-dir` command-line flag. To change the location of the build-dir, you can set the `CARGO_BUILD_BUILD_DIR` [environment variable] or the [`build.build-dir`] config value. -Artifacts are split in two catagories: +Artifacts are split in two categories: * Final build artifacts * Final build artifacts are output meant for end users of Cargo * e.g. binaries for bin crates, output of `cargo doc`, Cargo `--timings` reports