about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2022-08-23 00:46:35 +0200
committerGitHub <noreply@github.com>2022-08-23 07:46:35 +0900
commitbbb9999b1c0916b39a3d9c37f6801e3dce754800 (patch)
tree03fd2b725c230bac60c7b0c92e26d0244eca10b6 /src/doc/rustc-dev-guide
parente6fce3e17329c4284794df4d2b072cea414a875b (diff)
downloadrust-bbb9999b1c0916b39a3d9c37f6801e3dce754800.tar.gz
rust-bbb9999b1c0916b39a3d9c37f6801e3dce754800.zip
do not offer option to run code (#1442)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/thir.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/thir.md b/src/doc/rustc-dev-guide/src/thir.md
index 04af75f9ec4..f5ba555141c 100644
--- a/src/doc/rustc-dev-guide/src/thir.md
+++ b/src/doc/rustc-dev-guide/src/thir.md
@@ -49,7 +49,7 @@ all bodies of a crate in memory at the same time would be very heavy.
 You can get a debug representation of the THIR by passing the `-Zunpretty=thir-tree` flag
 to `rustc`. Here is how a function with just the statement `let x = 1 + 2;` gets represented in
 THIR:
-```rust
+```rust,no_run
 Thir {
     // no match arms
     arms: [],