Skip to content

Commit d97216e

Browse files
Update src/mir/passes.md
Co-authored-by: Yuki Okushi <[email protected]>
1 parent 39eb2de commit d97216e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mir/passes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ where we want to access the MIR for type checking or other purposes:
2727
A `MirPass` is some bit of code that processes the MIR, typically –
2828
but not always – transforming it along the way somehow. For example,
2929
it might perform an optimization. The `MirPass` trait itself is found
30-
in [the `rustc_mir_transform` module][mirtransform], and it
30+
in [the `rustc_mir_transform` crate][mirtransform], and it
3131
basically consists of one method, `run_pass`, that simply gets an
3232
`&mut Mir` (along with the tcx and some information about where it
3333
came from). The MIR is therefore modified in place (which helps to

0 commit comments

Comments
 (0)