File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ HIR. Doing borrow checking on MIR has several advantages:
27
27
### Major phases of the borrow checker
28
28
29
29
The borrow checker source is found in
30
- [ the ` rustc_borrow_ck ` module ] [ b_c ] . The main entry point is
30
+ [ the ` rustc_borrow_ck ` crate ] [ b_c ] . The main entry point is
31
31
the [ ` mir_borrowck ` ] query.
32
32
33
33
[ b_c ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_borrowck/index.html
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ The list of passes run and the order in which they are run is defined by the
81
81
[ ` run_optimization_passes ` ] [ rop ] function. It contains an array of passes to
82
82
run. Each pass in the array is a struct that implements the [ ` MirPass ` ] trait.
83
83
The array is an array of ` &dyn MirPass ` trait objects. Typically, a pass is
84
- implemented in its own submodule of the [ ` rustc_mir_transform ` ] [ trans ] module .
84
+ implemented in its own module of the [ ` rustc_mir_transform ` ] [ trans ] crate .
85
85
86
86
[ rop ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_transform/fn.run_optimization_passes.html
87
87
[ `MirPass` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_transform/trait.MirPass.html
You can’t perform that action at this time.
0 commit comments