Skip to content

Commit 13edfd4

Browse files
Update basic names from review.
Co-authored-by: Yuki Okushi <[email protected]>
1 parent d97216e commit 13edfd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/borrow_check.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ HIR. Doing borrow checking on MIR has several advantages:
2727
### Major phases of the borrow checker
2828

2929
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
3131
the [`mir_borrowck`] query.
3232

3333
[b_c]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_borrowck/index.html

src/mir/optimizations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The list of passes run and the order in which they are run is defined by the
8181
[`run_optimization_passes`][rop] function. It contains an array of passes to
8282
run. Each pass in the array is a struct that implements the [`MirPass`] trait.
8383
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.
8585

8686
[rop]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_transform/fn.run_optimization_passes.html
8787
[`MirPass`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_transform/trait.MirPass.html

0 commit comments

Comments
 (0)