about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-02-18 22:57:57 +0000
committerWho? Me?! <mark-i-m@users.noreply.github.com>2019-02-18 17:48:15 -0600
commitad3659cd58d9f6196fb4a0acef6bed480099b7da (patch)
tree6eac0328a7b30fca96ec802509d3bd0673763a2e /src/doc/rustc-dev-guide
parent9523b06c6853f1a9b6cb8eac406450217df85916 (diff)
downloadrust-ad3659cd58d9f6196fb4a0acef6bed480099b7da.tar.gz
rust-ad3659cd58d9f6196fb4a0acef6bed480099b7da.zip
Ignore Rust snippet
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/kinds.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/kinds.md b/src/doc/rustc-dev-guide/src/kinds.md
index bd483c86837..d5e218c3194 100644
--- a/src/doc/rustc-dev-guide/src/kinds.md
+++ b/src/doc/rustc-dev-guide/src/kinds.md
@@ -34,7 +34,7 @@ the context is clear). As mentioned earlier, substition lists store raw
 `Kind`s, so before dealing with them, it is preferable to convert them to
 `UnpackedKind`s first. This is done by calling the `.unpack()` method.
 
-```rust
+```rust,ignore
 // An example of unpacking and packing a kind.
 fn deal_with_kind<'tcx>(kind: Kind<'tcx>) -> Kind<'tcx> {
     // Unpack a raw `Kind` to deal with it safely.