From 9887dcdd6350b07636fbc76f50ef779d34520024 Mon Sep 17 00:00:00 2001 From: David Asabina Date: Sat, 27 Feb 2021 17:47:37 +0100 Subject: [PATCH] doc: Fix spelling worksapce->workspace only in comments or documentation --- src/bin/cargo/commands/install.rs | 2 +- src/doc/src/guide/build-cache.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/cargo/commands/install.rs b/src/bin/cargo/commands/install.rs index 0c36acb648f..6c9d8d1e025 100644 --- a/src/bin/cargo/commands/install.rs +++ b/src/bin/cargo/commands/install.rs @@ -117,7 +117,7 @@ pub fn exec(config: &mut Config, args: &ArgMatches<'_>) -> CliResult { let version = args.value_of("version"); let root = args.value_of("root"); - // We only provide worksapce information for local crate installation from + // We only provide workspace information for local crate installation from // one of the following sources: // - From current working directory (only work for edition 2015). // - From a specific local file path. diff --git a/src/doc/src/guide/build-cache.md b/src/doc/src/guide/build-cache.md index e86d0ebb6c6..18bb2df0b7a 100644 --- a/src/doc/src/guide/build-cache.md +++ b/src/doc/src/guide/build-cache.md @@ -2,7 +2,7 @@ Cargo stores the output of a build into the "target" directory. By default, this is the directory named `target` in the root of your -[*workspace*][def-worksapce]. To change the location, you can set the +[*workspace*][def-workspace]. To change the location, you can set the `CARGO_TARGET_DIR` [environment variable], the [`build.target-dir`] config value, or the `--target-dir` command-line flag.