rust/tests/rustdoc/test-strikethrough.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
383 B
Rust
Raw Normal View History

2020-05-08 16:14:57 +00:00
#![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~
2020-05-08 16:14:57 +00:00
pub fn f() {}