Skip to content

Commit

Permalink
doc: Fix spelling worksapce->workspace
Browse files Browse the repository at this point in the history
only in comments or documentation
  • Loading branch information
vidbina committed Feb 27, 2021
1 parent 85cae85 commit 9887dcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/cargo/commands/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/guide/build-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9887dcd

Please sign in to comment.