rust/src/test/rustdoc/short-docblock-codeblock.rs
Michael Howell e7b7f8855f rustdoc: omit start/end tags for empty item description blocks
Related to #100952

This is definitely not a complete solution, but it does shrink
keysyms/index.html on smithay from 620K to 516K.
2022-08-25 20:30:23 -07:00

10 lines
161 B
Rust

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