2018-10-16 20:21:34 +02:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2021-06-18 00:33:42 +02:00
|
|
|
// @has foo/index.html '//*[@class="item-right docblock-short"]' ""
|
|
|
|
// @!has foo/index.html '//*[@class="item-right docblock-short"]' "Some text."
|
|
|
|
// @!has foo/index.html '//*[@class="item-right docblock-short"]' "let x = 12;"
|
2018-10-16 20:21:34 +02:00
|
|
|
|
|
|
|
/// ```
|
|
|
|
/// let x = 12;
|
|
|
|
/// ```
|
|
|
|
///
|
|
|
|
/// Some text.
|
|
|
|
pub fn foo() {}
|