docs: Xfail test, it's just for illustration anyway
This commit is contained in:
parent
dbeea18fc5
commit
ce09645591
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
~~~
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue