rust/tests/rustdoc-json/intra-doc-links/user_written.rs
2023-01-11 09:32:08 +00:00

9 lines
229 B
Rust

//! For motivation, see [the reasons](foo#reasons)
/// # Reasons
/// To test rustdoc json
pub fn foo() {}
// @set foo = "$.index[*][?(@.name=='foo')].id"
// @is "$.index[*][?(@.name=='user_written')].links['foo#reasons']" $foo