about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorOliver Schneider <github35764891676564198441@oli-obk.de>2018-08-01 18:35:17 +0200
committerWho? Me?! <mark-i-m@users.noreply.github.com>2018-08-20 11:46:41 -0500
commitcacbda24e8b68be92570e18f2c79288b733780c4 (patch)
treed9d34d9d0de78b36dc4a15f4838568c857aae8ac /src/doc/rustc-dev-guide
parent8386481619bb04d5e6fe830d9b8c9197502eebb6 (diff)
downloadrust-cacbda24e8b68be92570e18f2c79288b733780c4.tar.gz
rust-cacbda24e8b68be92570e18f2c79288b733780c4.zip
Update existential-types.md
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/existential-types.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/existential-types.md b/src/doc/rustc-dev-guide/src/existential-types.md
index 4c5ebb75c88..3e4a49210fc 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
+```
 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
+```
 struct Struct;
 impl Bar for Struct { /* stuff */ }
 fn foo() -> Foo {
@@ -45,4 +45,4 @@ of existential types to be defining use sites.
 ### Associated existential types
 
 Associated existential types can be defined by any other associated item
-on the same trait `impl` or a child of these associated items.
\ No newline at end of file
+on the same trait `impl` or a child of these associated items.