about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-08-07 08:38:21 -0400
committerWho? Me?! <mark-i-m@users.noreply.github.com>2018-08-20 11:46:41 -0500
commit32fe7bd6d2430727ae459464178cd0e14e68fcb5 (patch)
treed9c10cd53b702436774b7b24138f5c90f0fa627b /src/doc/rustc-dev-guide
parentcacbda24e8b68be92570e18f2c79288b733780c4 (diff)
downloadrust-32fe7bd6d2430727ae459464178cd0e14e68fcb5.tar.gz
rust-32fe7bd6d2430727ae459464178cd0e14e68fcb5.zip
add rust,ignore to code snippets
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/existential-types.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/existential-types.md b/src/doc/rustc-dev-guide/src/existential-types.md
index 3e4a49210fc..ef20167c183 100644
--- a/src/doc/rustc-dev-guide/src/existential-types.md
+++ b/src/doc/rustc-dev-guide/src/existential-types.md
@@ -7,7 +7,7 @@ type.
 
 In the language they are expressed via
 
-```
+```rust,ignore
 existential type Foo: Bar;
 ```
 
@@ -17,7 +17,7 @@ the `Bar` trait's interface.
 Since there needs to be a concrete background type, you can currently
 express that type by using the existential type in a "defining use site".
 
-```
+```rust,ignore
 struct Struct;
 impl Bar for Struct { /* stuff */ }
 fn foo() -> Foo {