1
Fork 0

Prevent urls in headings

This commit is contained in:
Guillaume Gomez 2020-01-14 19:21:10 +01:00
parent bf84eb538f
commit 1bf9f69579
2 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,12 @@
#![crate_name = "foo"]
// @has foo/fn.foo.html
// !@has - '//a[@href="http://a.a"]'
// @has - '//a[@href="#implementing-stuff-somewhere"]' 'Implementing stuff somewhere'
/// fooo
///
/// # Implementing [stuff](http://a.a) somewhere
///
/// hello
pub fn foo() {}