2021-06-17 17:33:42 -05:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2022-09-13 16:22:38 -05:00
|
|
|
// @has foo/index.html '//*[@class="item-right docblock-short"]' 'fooo'
|
|
|
|
// @!has foo/index.html '//*[@class="item-right docblock-short"]/h1' 'fooo'
|
2021-10-01 05:17:15 -05:00
|
|
|
// @has foo/fn.foo.html '//h2[@id="fooo"]/a[@href="#fooo"]' 'fooo'
|
2021-06-17 17:33:42 -05:00
|
|
|
|
|
|
|
/// # fooo
|
|
|
|
///
|
|
|
|
/// foo
|
|
|
|
pub fn foo() {}
|
|
|
|
|
2022-09-13 16:22:38 -05:00
|
|
|
// @has foo/index.html '//*[@class="item-right docblock-short"]' 'mooood'
|
|
|
|
// @!has foo/index.html '//*[@class="item-right docblock-short"]/h2' 'mooood'
|
2021-10-01 05:17:15 -05:00
|
|
|
// @has foo/foo/index.html '//h3[@id="mooood"]/a[@href="#mooood"]' 'mooood'
|
2021-06-17 17:33:42 -05:00
|
|
|
|
|
|
|
/// ## mooood
|
|
|
|
///
|
|
|
|
/// foo mod
|
|
|
|
pub mod foo {}
|
|
|
|
|
2022-09-13 16:22:38 -05:00
|
|
|
// @has foo/index.html '//*[@class="item-right docblock-short"]/a[@href=\
|
2021-06-17 17:33:42 -05:00
|
|
|
// "https://nougat.world"]/code' 'nougat'
|
|
|
|
|
|
|
|
/// [`nougat`](https://nougat.world)
|
|
|
|
pub struct Bar;
|