docs: Xfail test, it's just for illustration anyway

This commit is contained in:
Tim Chevalier 2013-04-01 15:21:22 -07:00
parent dbeea18fc5
commit ce09645591

View file

@ -1436,10 +1436,10 @@ The definitions of these operations have to be easy for the compiler to find.
The `lang` attribute makes it possible to declare these operations.
For example, the `str` module in the Rust core library defines the string equality function:
~~~
~~~ {.xfail-test}
#[lang="str_eq"]
pub fn eq_slice(a: &str, b: &str) -> bool {
true // not actually the implementation
// details elided
}
~~~