Skip to content

Commit c4776cb

Browse files
JohnTitorjyn514
authored andcommitted
Fix some links
1 parent 8a817bc commit c4776cb

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/backend/libs-and-metadata.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,11 @@ The hash includes a variety of elements:
107107
Disambiguator](#crate-disambiguator), and all CLI options marked with
108108
`[TRACKED]`).
109109

110-
See [`finalize_and_compute_crate_hash`] for where the hash is actually
111-
computed.
110+
See [`compute_hir_hash`] for where the hash is actually computed.
112111

113112
[SVH]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_data_structures/svh/struct.Svh.html
114113
[incremental compilation]: ../queries/incremental-compilation.md
115-
[`finalize_and_compute_crate_hash`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/hir/map/collector/struct.NodeCollector.html#method.finalize_and_compute_crate_hash
114+
[`compute_hir_hash`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast_lowering/struct.LoweringContext.html#method.compute_hir_hash
116115

117116
### Stable Crate Id
118117

src/building/bootstrapping.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ because one must first build the new compiler with an older compiler
5656
and then use that to build the new compiler with itself.
5757
For development, you usually only want the `stage1` compiler,
5858
which you can build with `./x.py build library/std`.
59-
See [Building the Compiler](/building/how-to-build-and-run.html#building-the-compiler).
59+
See [Building the Compiler](./how-to-build-and-run.html#building-the-compiler).
6060

6161
### Stage 3
6262

src/constants.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ why the array length in `foo<const N: usize>() -> [u8; N + 1]` can use `N`.
3939

4040
Without any manual adjustments, this causes us to include parameters even if
4141
the constant doesn't use them in any way. This can cause
42-
[some interesting errors](pcg-unused-substs) and breaks some already stable code.
42+
[some interesting errors][pcg-unused-substs] and breaks some already stable code.
4343

4444
To deal with this, we intend to look at the generic parameters explicitly mentioned
4545
by the constants and then search the predicates of its parents to figure out which

0 commit comments

Comments
 (0)