about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-18 19:33:36 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-18 19:33:36 -0700
commit77480e8e44d9c5a6858172faeb291496314cf739 (patch)
treeda32973712a5c146eeb1039565d12b040a926ec1
parenta9fea869704fe2607a20ebe2f68c6c4312f912f1 (diff)
downloadrust-77480e8e44d9c5a6858172faeb291496314cf739.tar.gz
rust-77480e8e44d9c5a6858172faeb291496314cf739.zip
xfail two tests from the manual
-rw-r--r--doc/rust.md4
1 files 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<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
 declared, in an angle-bracket-enclosed, comma-separated list following
 the function name.
 
-~~~~
+~~~~ {.xfail-test}
 fn iter<T>(seq: ~[T], f: fn(T)) {
     for seq.each |elt| { f(elt); }
 }