summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-42760.rs
blob: a5394c7d92a9662672186d0501cb7ce65bdd5c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![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;