about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authormark <markm@cs.wisc.edu>2020-06-23 12:57:15 -0500
committerWho? Me?! <mark-i-m@users.noreply.github.com>2020-07-01 22:07:52 -0500
commitcf096d7b815aeb4bc6b51ffa93e26f2a498be917 (patch)
treec120b9bfc72535f12f5a43a11e38b3f9f49d724f /src/doc/rustc-dev-guide
parent5dd54768de000d6daf14f0b9e8548dd065122be8 (diff)
downloadrust-cf096d7b815aeb4bc6b51ffa93e26f2a498be917.tar.gz
rust-cf096d7b815aeb4bc6b51ffa93e26f2a498be917.zip
fix links
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/contributing.md19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/doc/rustc-dev-guide/src/contributing.md b/src/doc/rustc-dev-guide/src/contributing.md
index 017f0c2aef3..f6368c607a8 100644
--- a/src/doc/rustc-dev-guide/src/contributing.md
+++ b/src/doc/rustc-dev-guide/src/contributing.md
@@ -306,14 +306,17 @@ Caused by:
 failed to run: ~/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path ~/rust/src/bootstrap/Cargo.toml
 ```
 
-If you haven't used the `[patch]`
-section of `Cargo.toml` before, there is [some relevant documentation about it
-in the cargo docs](http://doc.crates.io/manifest.html#the-patch-section). In
-addition to that, you should read the
-[Overriding dependencies](http://doc.crates.io/specifying-dependencies.html#overriding-dependencies)
-section of the documentation as well.
-
-Specifically, the following [section in Overriding dependencies](http://doc.crates.io/specifying-dependencies.html#testing-a-bugfix) reveals what the problem is:
+The [`[patch]`][patchsec] section of `Cargo.toml` can be very useful for
+testing. In addition to that, you should read the [Overriding
+dependencies][overriding] section of the documentation.
+
+[patchsec]: http://doc.crates.io/manifest.html#the-patch-section
+[overriding]: http://doc.crates.io/specifying-dependencies.html#overriding-dependencies
+
+Specifically, the following [section in Overriding dependencies][testingbugfix]
+reveals what the problem is:
+
+[testingbugfix]: http://doc.crates.io/specifying-dependencies.html#testing-a-bugfix
 
 > Next up we need to ensure that our lock file is updated to use this new
 > version of uuid so our project uses the locally checked out copy instead of