summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/short-docblock-codeblock.rs
blob: 7ecd80b8c723d0128f3a8434e0ae5256f40273eb (plain)
1
2
3
4
5
6
7
8
9
10
#![crate_name = "foo"]

// @count foo/index.html '//*[@class="desc docblock-short"]' 0

/// ```
/// let x = 12;
/// ```
///
/// Some text.
pub fn foo() {}