Skip to content

Commit 92baf72

Browse files
JohnTitormark-i-m
authored andcommitted
Fix link
1 parent cf6447a commit 92baf72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mir/construction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ being a `hair::ExprKind::Neg(hair::Expr)` it is a `hair::ExprKind::Neg(hir::Expr
2424
This shallowness enables the `HAIR` to represent all datatypes that [HIR] has, but
2525
without having to create an in-memory copy of the entire [HIR].
2626
[MIR] lowering will first convert the topmost expression from
27-
[HIR] to [HAIR] (in [rustc_mir::hair::cx::expr]) and then process
27+
[HIR] to [HAIR] (in [`rustc_mir_build::hair::cx::expr`]) and then process
2828
the [HAIR] expressions recursively.
2929

3030
The lowering creates local variables for every argument as specified in the signature.
@@ -154,5 +154,5 @@ case of `enum`s.
154154
[HIR]: ../hir.html
155155
[HAIR]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build/hair/index.html
156156

157-
[rustc_mir::hair::cx::expr]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/hair/cx/expr/index.html
157+
[`rustc_mir_build::hair::cx::expr`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build/hair/cx/expr/index.html
158158
[`mir_built`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build/build/fn.mir_built.html

0 commit comments

Comments
 (0)