Skip to content

Commit ce09645

Browse files
committed
docs: Xfail test, it's just for illustration anyway
1 parent dbeea18 commit ce09645

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/rust.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,10 +1436,10 @@ The definitions of these operations have to be easy for the compiler to find.
14361436
The `lang` attribute makes it possible to declare these operations.
14371437
For example, the `str` module in the Rust core library defines the string equality function:
14381438

1439-
~~~
1439+
~~~ {.xfail-test}
14401440
#[lang="str_eq"]
14411441
pub fn eq_slice(a: &str, b: &str) -> bool {
1442-
true // not actually the implementation
1442+
// details elided
14431443
}
14441444
~~~
14451445

0 commit comments

Comments
 (0)