]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-js/summaries.rs
Rollup merge of #82490 - ehuss:update-cargo, r=ehuss
[rust.git] / src / test / rustdoc-js / summaries.rs
1 #![crate_type = "lib"]
2 #![crate_name = "summaries"]
3
4 //! This *summary* has a [link] and `code`.
5 //!
6 //! This is the second paragraph.
7 //!
8 //! [link]: https://example.com
9
10 /// This `code` will be rendered in a code tag.
11 ///
12 /// This text should not be rendered.
13 pub struct Sidebar;
14
15 /// ```text
16 /// this block should not be rendered
17 /// ```
18 pub struct Sidebar2;