summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/test-strikethrough.rs
blob: 58162153b9e49a63412fe5666bb62107ff4fb697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![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() {}