summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/remove-url-from-headings.rs
blob: e2b232a6efb931f5185c3b536fc53f156340f8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![crate_name = "foo"]

// @has foo/fn.foo.html
// @!has - '//a[@href="http://a.a"]'
// @has - '//a[@href="#implementing-stuff-somewhere"]' 'Implementing stuff somewhere'
// @has - '//a[@href="#another-one-urg"]' 'Another one urg'

/// fooo
///
/// # Implementing [stuff](http://a.a "title") somewhere
///
/// hello
///
/// # Another [one][two] urg
///
/// [two]: http://a.a
pub fn foo() {}