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