about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorWho? Me?! <mark-i-m@users.noreply.github.com>2019-11-12 13:36:39 -0600
committerWho? Me?! <mark-i-m@users.noreply.github.com>2019-11-14 13:08:20 -0600
commit1fbf3dd9caa39bb5f5f41c87aa095a3acb20b7aa (patch)
treee1c13e57cd6edb3a99e303cdf09b648f84a9e5c6 /src/doc/rustc-dev-guide
parent13d0eabc63958f7438330c268b478538f047716f (diff)
downloadrust-1fbf3dd9caa39bb5f5f41c87aa095a3acb20b7aa.tar.gz
rust-1fbf3dd9caa39bb5f5f41c87aa095a3acb20b7aa.zip
typo
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/mir/optimizations.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/mir/optimizations.md b/src/doc/rustc-dev-guide/src/mir/optimizations.md
index d32f508133a..cdbe7b4fa51 100644
--- a/src/doc/rustc-dev-guide/src/mir/optimizations.md
+++ b/src/doc/rustc-dev-guide/src/mir/optimizations.md
@@ -18,7 +18,7 @@ passes are only turned on in `release` mode.
 
 The [`optimized_mir`][optmir] [query] is called to produce the optimized MIR
 for a given [`DefId`][defid]. This query makes sure that the borrow checker has
-run and that some validation has occured. Then, it [steals][steal] the MIR
+run and that some validation has occurred. Then, it [steals][steal] the MIR
 optimizes it, and returns the improved MIR.
 
 [optmir]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/transform/fn.optimized_mir.html