diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-18 19:33:36 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-18 19:33:36 -0700 |
| commit | 77480e8e44d9c5a6858172faeb291496314cf739 (patch) | |
| tree | da32973712a5c146eeb1039565d12b040a926ec1 | |
| parent | a9fea869704fe2607a20ebe2f68c6c4312f912f1 (diff) | |
| download | rust-77480e8e44d9c5a6858172faeb291496314cf739.tar.gz rust-77480e8e44d9c5a6858172faeb291496314cf739.zip | |
xfail two tests from the manual
| -rw-r--r-- | doc/rust.md | 4 |
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); } } |
