]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-js/summaries.rs
Fix feature gate checking of static-nobundle and native_link_modifiers
[rust.git] / src / test / rustdoc-js / summaries.rs
index beb91e286b61080b127cbcefb420fdb632e82ea7..418c9f8d0edd02dd969fb56458f1002c652aee6e 100644 (file)
@@ -1,9 +1,11 @@
 #![crate_type = "lib"]
 #![crate_name = "summaries"]
 
-//! This *summary* has a [link] and `code`.
+//! This *summary* has a [link], [`code`], and [`Sidebar2`] intra-doc.
 //!
-//! This is the second paragraph.
+//! This is the second paragraph. It should not be rendered.
+//! To test that intra-doc links are resolved properly, [`code`] should render
+//! the square brackets, and [`Sidebar2`] should not.
 //!
 //! [link]: https://example.com