Skip to content

Commit 7836a59

Browse files
nikomatsakismark-i-m
authored andcommitted
add rust,ignore to code snippets
1 parent 6533cce commit 7836a59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/existential-types.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type.
77

88
In the language they are expressed via
99

10-
```
10+
```rust,ignore
1111
existential type Foo: Bar;
1212
```
1313

@@ -17,7 +17,7 @@ the `Bar` trait's interface.
1717
Since there needs to be a concrete background type, you can currently
1818
express that type by using the existential type in a "defining use site".
1919

20-
```
20+
```rust,ignore
2121
struct Struct;
2222
impl Bar for Struct { /* stuff */ }
2323
fn foo() -> Foo {

0 commit comments

Comments
 (0)