From 1fbf3dd9caa39bb5f5f41c87aa095a3acb20b7aa Mon Sep 17 00:00:00 2001 From: Who? Me?! Date: Tue, 12 Nov 2019 13:36:39 -0600 Subject: typo Co-Authored-By: Yuki Okushi --- src/doc/rustc-dev-guide/src/mir/optimizations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/doc') 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 -- cgit 1.4.1-3-g733a5