rust/tests/rustdoc/short-docblock-codeblock.rs
Michael Howell 894c98652c rustdoc: simplify DOM for .item-table
This switches from using `<div>` to the more semantic `<ul>`, and
using class names that rhyme with the classes the search results
table uses.
2023-02-07 19:00:42 -07: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() {}