about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2023-09-08 12:58:20 +0200
committerTshepang Mbambo <tshepang@gmail.com>2023-09-08 12:59:13 +0200
commit6d9d2817049e1d08cce74dd38d49d5c91c190482 (patch)
tree180343ca72f7a3524f47f3e61b4a68d4729dd2a0 /src/doc
parentc6c6c7aa3b75d5e24a308188fab3111fa5fd6820 (diff)
grammar
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/mir/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/mir/index.md b/src/doc/rustc-dev-guide/src/mir/index.md
index 20cbf75d22a..7027cd80321 100644
--- a/src/doc/rustc-dev-guide/src/mir/index.md
+++ b/src/doc/rustc-dev-guide/src/mir/index.md
@@ -64,7 +64,7 @@ button on the top:
 [sample-play]: https://play.rust-lang.org/?gist=30074856e62e74e91f06abd19bd72ece&version=stable
 MIR shown by above link is optimized.
 Some statements like `StorageLive` are removed in optimization.
-This happens because compiler notices the value is never accessed in the code.
+This happens because the compiler notices the value is never accessed in the code.
 We can use `rustc [filename].rs -Z mir-opt-level=0 --emit mir` to view unoptimized MIR.
 This requires the nightly toolchain.