about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2019-09-08 07:05:22 +0200
committerSantiago Pastorino <spastorino@gmail.com>2019-09-08 02:05:22 -0300
commitf3a4f1b44868cf3e911eaf53cd79162bebf9371f (patch)
tree4d43843080a94600167b9bd0e7aac2452a5b922e /src/doc/rustc-dev-guide
parent6e8f64d25183c05d847ed985664e27068a7aaa5a (diff)
downloadrust-f3a4f1b44868cf3e911eaf53cd79162bebf9371f.tar.gz
rust-f3a4f1b44868cf3e911eaf53cd79162bebf9371f.zip
typo (#441)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/codegen/debugging.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/codegen/debugging.md b/src/doc/rustc-dev-guide/src/codegen/debugging.md
index 51d5a3b2c35..a6ad91dd1a7 100644
--- a/src/doc/rustc-dev-guide/src/codegen/debugging.md
+++ b/src/doc/rustc-dev-guide/src/codegen/debugging.md
@@ -40,7 +40,7 @@ hard to replicate manually and means that LLVM is called multiple times in
 parallel.  If you can get away with it (i.e. if it doesn't make your bug
 disappear), passing `-C codegen-units=1` to rustc will make debugging easier.
 
-To rustc to generate LLVM IR, you need to pass the `--emit=llvm-ir` flag. If
+For rustc to generate LLVM IR, you need to pass the `--emit=llvm-ir` flag. If
 you are building via cargo, use the `RUSTFLAGS` environment variable (e.g.
 `RUSTFLAGS='--emit=llvm-ir'`). This causes rustc to spit out LLVM IR into the
 target directory.