]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-42760.rs
Auto merge of #107778 - weihanglo:update-cargo, r=weihanglo
[rust.git] / tests / rustdoc / issue-42760.rs
1 #![allow(rustdoc::invalid_rust_codeblocks)]
2
3 // @has issue_42760/struct.NonGen.html
4 // @has - '//h2' 'Example'
5
6 /// Item docs.
7 ///
8 #[doc="Hello there!"]
9 ///
10 /// # Example
11 ///
12 /// ```rust
13 /// // some code here
14 /// ```
15 pub struct NonGen;