Skip to content

Commit c1eea21

Browse files
mark-i-mJohnTitor
andcommitted
typo
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
1 parent be4bd17 commit c1eea21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mir/optimizations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ passes are only turned on in `release` mode.
1818

1919
The [`optimized_mir`][optmir] [query] is called to produce the optimized MIR
2020
for a given [`DefId`][defid]. This query makes sure that the borrow checker has
21-
run and that some validation has occured. Then, it [steals][steal] the MIR
21+
run and that some validation has occurred. Then, it [steals][steal] the MIR
2222
optimizes it, and returns the improved MIR.
2323

2424
[optmir]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/transform/fn.optimized_mir.html

0 commit comments

Comments
 (0)