rust/tests/rustdoc/short-docblock-codeblock.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
155 B
Rust
Raw Normal View History

#![crate_name = "foo"]
// @count foo/index.html '//*[@class="desc docblock-short"]' 0
/// ```
/// let x = 12;
/// ```
///
/// Some text.
pub fn foo() {}