add rust,ignore to code snippets
This commit is contained in:
parent
135b38859f
commit
e0df7b587b
|
|
@ -7,7 +7,7 @@ type.
|
||||||
|
|
||||||
In the language they are expressed via
|
In the language they are expressed via
|
||||||
|
|
||||||
```
|
```rust,ignore
|
||||||
existential type Foo: Bar;
|
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
|
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".
|
express that type by using the existential type in a "defining use site".
|
||||||
|
|
||||||
```
|
```rust,ignore
|
||||||
struct Struct;
|
struct Struct;
|
||||||
impl Bar for Struct { /* stuff */ }
|
impl Bar for Struct { /* stuff */ }
|
||||||
fn foo() -> Foo {
|
fn foo() -> Foo {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue