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

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

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