Skip to content

Commit 79b0e09

Browse files
committed
---
yaml --- r: 205311 b: refs/heads/stable c: a59de37 h: refs/heads/master i: 205309: 1c70848 205307: 4b70d94 205303: 93ce52e 205295: c587845 205279: 53bf897 205247: dff8f2c 205183: 42a1261 205055: 00ef734 204799: 0c821d1 v: v3
1 parent 3036021 commit 79b0e09

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3737
refs/tags/homu-tmp: c2b30b86df6b34ba19e87e63402e43d9e81a64fb
3838
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412
3939
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
40-
refs/heads/stable: f0213d8ffb128a16f94af7ee985dc61484596163
40+
refs/heads/stable: a59de37e99060162a2674e3ff45409ac73595c0e

branches/stable/src/doc/trpl/associated-constants.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
With the `associated_consts` feature, you can define constants like this:
44

5-
```rust
5+
```rust,ignore
66
#![feature(associated_consts)]
77
88
trait Foo {
@@ -41,7 +41,7 @@ error: not all trait items implemented, missing: `ID` [E0046]
4141

4242
A default value can be implemented as well:
4343

44-
```rust
44+
```rust,ignore
4545
#![feature(associated_consts)]
4646
4747
trait Foo {
@@ -68,7 +68,7 @@ add our own definition.
6868
Associated constants don’t have to be associated with a trait. An `impl` block
6969
for a `struct` works fine too:
7070

71-
```rust
71+
```rust,ignore
7272
#![feature(associated_consts)]
7373
7474
struct Foo;

0 commit comments

Comments
 (0)