2019-11-23 11:45:55 -06:00
|
|
|
/// I want...
|
|
|
|
///
|
|
|
|
/// # Anchor!
|
|
|
|
pub struct Something;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has anchors/struct.SomeOtherType.html
|
|
|
|
//@ 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]
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has anchors/fn.x.html
|
|
|
|
//@ has - '//a/@href' '{{channel}}/std/primitive.u32.html#hello'
|
2021-07-10 21:25:36 -05:00
|
|
|
pub fn x() {}
|
|
|
|
|
|
|
|
/// [prim@usize#x]
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has anchors/usize/index.html
|
|
|
|
//@ has - '//a/@href' '{{channel}}/std/primitive.usize.html#x'
|
2021-07-10 21:25:36 -05:00
|
|
|
pub mod usize {}
|