diff --git a/doc/rust.md b/doc/rust.md index d214588d660..5dca7b9131a 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -1054,7 +1054,7 @@ the pure functions they write. An example of a pure function that uses an unsafe block: -~~~~ +~~~~ {.xfail-test} # use std::list::*; fn pure_foldl(ls: List, u: U, f: fn(&&T, &&U) -> U) -> U { @@ -1085,7 +1085,7 @@ appear in its signature. Each type parameter must be explicitly declared, in an angle-bracket-enclosed, comma-separated list following the function name. -~~~~ +~~~~ {.xfail-test} fn iter(seq: ~[T], f: fn(T)) { for seq.each |elt| { f(elt); } }