about summary refs log tree commit diff
path: root/src/test/rustdoc-js/summaries.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-js/summaries.rs')
-rw-r--r--src/test/rustdoc-js/summaries.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/rustdoc-js/summaries.rs b/src/test/rustdoc-js/summaries.rs
index beb91e286b6..418c9f8d0ed 100644
--- a/src/test/rustdoc-js/summaries.rs
+++ b/src/test/rustdoc-js/summaries.rs
@@ -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