Skip to content

Commit 4acb428

Browse files
Small fixes
Co-authored-by: Léo Lanteri Thauvin <[email protected]>
1 parent 467ae91 commit 4acb428

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler-debugging.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ compiler is doing a particular thing.
164164
To see the logs, you need to set the `RUSTC_LOG` environment variable to your
165165
log filter. Your log filter can be just `debug` to get all `debug!` output, or
166166
`path::to::module` to get *all* output (not just `debug!`) from a particular
167-
module, or `path::to::module=debug` to get only `debug!` output form a
167+
module, or `path::to::module=debug` to get only `debug!` output from a
168168
particular module.
169169

170170
For example, to get the `debug!` output for a specific module, you can run the
@@ -204,7 +204,7 @@ $ RUSTC_LOG=debug rustc +stage1 my-file.rs 2>all-log
204204
# This will show the output of all `info!` calls in `rustc_codegen_ssa`.
205205
#
206206
# There's an `info!` statement in `codegen_instance` that outputs
207-
# every function that is translated. This is useful to find out
207+
# every function that is codegen'd. This is useful to find out
208208
# which function triggers an LLVM assertion, and this is an `info!`
209209
# log rather than a `debug!` log so it will work on the official
210210
# compilers.

0 commit comments

Comments
 (0)