about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-09-09 12:22:56 -0400
committerGitHub <noreply@github.com>2020-09-09 16:22:56 +0000
commit4373430365e446a0d03a2911ffeddccdee9f155f (patch)
treef62991ea5c559f1005d86aed6e83fbfb863e152b /src/doc/rustc-dev-guide
parent0bb78aaad6d8807e7983ba2efb4953d89a5c85c0 (diff)
downloadrust-4373430365e446a0d03a2911ffeddccdee9f155f.tar.gz
rust-4373430365e446a0d03a2911ffeddccdee9f155f.zip
Fix broken hyperlink (#862)
* Fix broken hyperlink

* Link to previous pages instead of skipping ahead

* Fix line lengths
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/suggested.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md
index 0cc91b40343..424452b6273 100644
--- a/src/doc/rustc-dev-guide/src/building/suggested.md
+++ b/src/doc/rustc-dev-guide/src/building/suggested.md
@@ -81,7 +81,7 @@ don't work (but that is easily detected and fixed).
 The sequence of commands you want is as follows:
 
 - Initial build: `./x.py build -i library/std`
-  - As [documented above](#command), this will build a functional
+  - As [documented previously], this will build a functional
     stage1 compiler as part of running all stage0 commands (which include
     building a `std` compatible with the stage1 compiler) as well as the
     first few steps of the "stage 1 actions" up to "stage1 (sysroot stage1)
@@ -89,6 +89,8 @@ The sequence of commands you want is as follows:
 - Subsequent builds: `./x.py build -i library/std --keep-stage 1`
   - Note that we added the `--keep-stage 1` flag here
 
+[documented previously]: ./how-to-build-and-run.md#building-the-compiler
+
 As mentioned, the effect of `--keep-stage 1` is that we just *assume* that the
 old standard library can be re-used. If you are editing the compiler, this
 is almost always true: you haven't changed the standard library, after