rust/tests/rustdoc/short-docblock-codeblock.rs
2024-06-24 11:08:41 +02:00

11 lines
155 B
Rust

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