Skip to content

Commit 568ff2e

Browse files
Jorge AparicioManishearth
authored andcommitted
ignore boxed closure doctests in the guide/reference
1 parent 77ed0c0 commit 568ff2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,7 +1559,7 @@ Type parameters can be specified for a trait to make it generic. These appear
15591559
after the trait name, using the same syntax used in [generic
15601560
functions](#generic-functions).
15611561

1562-
```
1562+
``` ignore
15631563
trait Seq<T> {
15641564
fn len(&self) -> uint;
15651565
fn elt_at(&self, n: uint) -> T;
@@ -3217,7 +3217,7 @@ expression's captured environment.
32173217
In this example, we define a function `ten_times` that takes a higher-order
32183218
function argument, and call it with a lambda expression as an argument.
32193219

3220-
```
3220+
``` ignore
32213221
fn ten_times(f: |int|) {
32223222
let mut i = 0;
32233223
while i < 10 {
@@ -3821,7 +3821,7 @@ or `extern`), a sequence of input types and an output type.
38213821

38223822
An example of a `fn` type:
38233823

3824-
```
3824+
``` ignore
38253825
fn add(x: int, y: int) -> int {
38263826
return x + y;
38273827
}
@@ -3849,7 +3849,7 @@ The type of a closure mapping an input of type `A` to an output of type `B` is
38493849

38503850
An example of creating and calling a closure:
38513851

3852-
```rust
3852+
``` ignore
38533853
let captured_var = 10i;
38543854
38553855
let closure_no_args = || println!("captured_var={}", captured_var);

0 commit comments

Comments
 (0)