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