2019-11-23 11:45:55 -06:00
|
|
|
/// I want...
|
|
|
|
///
|
|
|
|
/// # Anchor!
|
|
|
|
pub struct Something;
|
|
|
|
|
2020-11-28 19:25:41 -06:00
|
|
|
// @has anchors/struct.SomeOtherType.html
|
2021-03-17 13:41:01 -05:00
|
|
|
// @has - '//a/@href' 'struct.Something.html#Anchor!'
|
2019-11-23 11:45:55 -06:00
|
|
|
|
|
|
|
/// I want...
|
|
|
|
///
|
|
|
|
/// To link to [Something#Anchor!]
|
|
|
|
pub struct SomeOtherType;
|
2021-07-10 21:25:36 -05:00
|
|
|
|
|
|
|
/// Primitives?
|
|
|
|
///
|
|
|
|
/// [u32#hello]
|
|
|
|
// @has anchors/fn.x.html
|
|
|
|
// @has - '//a/@href' '{{channel}}/std/primitive.u32.html#hello'
|
|
|
|
pub fn x() {}
|
|
|
|
|
|
|
|
/// [prim@usize#x]
|
|
|
|
// @has anchors/usize/index.html
|
|
|
|
// @has - '//a/@href' '{{channel}}/std/primitive.usize.html#x'
|
|
|
|
pub mod usize {}
|