2019-11-23 18:45:55 +01:00
|
|
|
/// I want...
|
|
|
|
///
|
|
|
|
/// # Anchor!
|
|
|
|
pub struct Something;
|
|
|
|
|
2020-11-28 20:25:41 -05:00
|
|
|
// @has anchors/struct.SomeOtherType.html
|
2021-03-17 11:41:01 -07:00
|
|
|
// @has - '//a/@href' 'struct.Something.html#Anchor!'
|
2019-11-23 18:45:55 +01:00
|
|
|
|
|
|
|
/// I want...
|
|
|
|
///
|
|
|
|
/// To link to [Something#Anchor!]
|
|
|
|
pub struct SomeOtherType;
|
2021-07-10 22:25:36 -04: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 {}
|