about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-03-30 20:37:26 +0800
committerGitHub <noreply@github.com>2025-03-30 20:37:26 +0800
commit9f8e25f922c36debc770de37b7baee895c8adcb8 (patch)
tree2c5826ddff4fcf946242d50ffd230bf613601fd6 /src/doc/rustc-dev-guide
parenta27ec8521dfb6d4b069fe27d269e604bc1e7bb14 (diff)
parentebae4c65a10a593b838d9c2f07f4c13e342ec03e (diff)
downloadrust-9f8e25f922c36debc770de37b7baee895c8adcb8.tar.gz
rust-9f8e25f922c36debc770de37b7baee895c8adcb8.zip
Merge pull request #2311 from clubby789/partial-clone-link
Fix partial clone link
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
index 067e2871118..c3c1c41e3f6 100644
--- a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
+++ b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
@@ -63,7 +63,7 @@ cd rust
 > **NOTE**: A shallow clone limits which `git` commands can be run.
 > If you intend to work on and contribute to the compiler, it is
 > generally recommended to fully clone the repository [as shown above](#get-the-source-code),
-> or to perform a [partial clone](#shallow-clone-the-repository) instead.
+> or to perform a [partial clone](#partial-clone-the-repository) instead.
 >
 > For example, `git bisect` and `git blame` require access to the commit history,
 > so they don't work if the repository was cloned with `--depth 1`.