Skip to content

Commit 77480e8

Browse files
committed
xfail two tests from the manual
1 parent a9fea86 commit 77480e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/rust.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ the pure functions they write.
10541054

10551055
An example of a pure function that uses an unsafe block:
10561056

1057-
~~~~
1057+
~~~~ {.xfail-test}
10581058
# use std::list::*;
10591059
10601060
fn pure_foldl<T, U: Copy>(ls: List<T>, u: U, f: fn(&&T, &&U) -> U) -> U {
@@ -1085,7 +1085,7 @@ appear in its signature. Each type parameter must be explicitly
10851085
declared, in an angle-bracket-enclosed, comma-separated list following
10861086
the function name.
10871087

1088-
~~~~
1088+
~~~~ {.xfail-test}
10891089
fn iter<T>(seq: ~[T], f: fn(T)) {
10901090
for seq.each |elt| { f(elt); }
10911091
}

0 commit comments

Comments
 (0)