about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-05-13 20:07:33 -0700
committerBrian Anderson <banderson@mozilla.com>2015-05-13 20:07:33 -0700
commita59de37e99060162a2674e3ff45409ac73595c0e (patch)
tree3e99f5e74d554a66dedd2c5df059ba0824632d86
parentf0213d8ffb128a16f94af7ee985dc61484596163 (diff)
downloadrust-a59de37e99060162a2674e3ff45409ac73595c0e.tar.gz
rust-a59de37e99060162a2674e3ff45409ac73595c0e.zip
Fix doc tests 1.0.0
-rw-r--r--src/doc/trpl/associated-constants.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/trpl/associated-constants.md b/src/doc/trpl/associated-constants.md
index 1c097be6d68..2f23af5a431 100644
--- a/src/doc/trpl/associated-constants.md
+++ b/src/doc/trpl/associated-constants.md
@@ -2,7 +2,7 @@
 
 With the `associated_consts` feature, you can define constants like this:
 
-```rust
+```rust,ignore
 #![feature(associated_consts)]
 
 trait Foo {
@@ -41,7 +41,7 @@ error: not all trait items implemented, missing: `ID` [E0046]
 
 A default value can be implemented as well:
 
-```rust
+```rust,ignore
 #![feature(associated_consts)]
 
 trait Foo {
@@ -68,7 +68,7 @@ add our own definition.
 Associated constants don’t have to be associated with a trait. An `impl` block
 for a `struct` works fine too:
 
-```rust
+```rust,ignore
 #![feature(associated_consts)]
 
 struct Foo;