mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
28ce0b9940
Also merge the two almost identical strikethrough tests together and document what the test tests.
14 lines
383 B
Rust
14 lines
383 B
Rust
#![crate_name = "foo"]
|
|
|
|
// Test that strikethrough works with single and double tildes and that it shows up on
|
|
// the item's dedicated page as well as the parent module's summary of items.
|
|
|
|
// @has foo/index.html //del 'strike'
|
|
// @has foo/index.html //del 'through'
|
|
|
|
// @has foo/fn.f.html //del 'strike'
|
|
// @has foo/fn.f.html //del 'through'
|
|
|
|
/// ~~strike~~ ~through~
|
|
pub fn f() {}
|