From 77480e8e44d9c5a6858172faeb291496314cf739 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 18 Sep 2012 19:33:36 -0700 Subject: [PATCH] xfail two tests from the manual --- doc/rust.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }