rust/tests/rustdoc/issue-42760.rs
2023-01-11 09:32:08 +00:00

16 lines
236 B
Rust

#![allow(rustdoc::invalid_rust_codeblocks)]
// @has issue_42760/struct.NonGen.html
// @has - '//h2' 'Example'
/// Item docs.
///
#[doc="Hello there!"]
///
/// # Example
///
/// ```rust
/// // some code here
/// ```
pub struct NonGen;