1
Fork 0
rust/src/test/rustdoc/intra-links-anchors.rs

13 lines
266 B
Rust
Raw Normal View History

2019-11-23 18:45:55 +01:00
/// I want...
///
/// # Anchor!
pub struct Something;
// @has intra_links_anchors/struct.SomeOtherType.html
// @has - '//a/@href' '../intra_links_anchors/struct.Something.html#Anchor!'
/// I want...
///
/// To link to [Something#Anchor!]
pub struct SomeOtherType;