mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
9 lines
229 B
Rust
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
|