Skip to content

Commit f39f8dc

Browse files
committed
docs(ref): Provide path for people to finding why shared Cargo.lock matters
1 parent cad833d commit f39f8dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/src/reference/workspaces.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ members*, that are managed together.
66
The key points of workspaces are:
77

88
* Common commands can run across all workspace members, like `cargo check --workspace`.
9-
* All packages share a common `Cargo.lock` file which resides in the
9+
* All packages share a common [`Cargo.lock`] file which resides in the
1010
*workspace root*.
1111
* All packages share a common [output directory], which defaults to a
1212
directory named `target` in the *workspace root*.
@@ -240,6 +240,7 @@ to the data in `workspace.metadata` if data is missing from `package.metadata`,
240240
if that makes sense for the tool in question.
241241

242242
[package]: manifest.md#the-package-section
243+
[`Cargo.lock`]: ../guide/cargo-toml-vs-cargo-lock.md
243244
[package-metadata]: manifest.md#the-metadata-table
244245
[output directory]: ../guide/build-cache.md
245246
[patch]: overriding-dependencies.md#the-patch-section

0 commit comments

Comments
 (0)