We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7066398 commit d6dc840Copy full SHA for d6dc840
src/test/rustdoc-gui/item-summary-table.goml
@@ -0,0 +1,6 @@
1
+// This test ensures that <table> elements aren't display in items summary.
2
+goto: file://|DOC_PATH|/lib2/summary_table/index.html
3
+// We check that we picked the right item first.
4
+assert-text: (".item-table .item-left", "Foo")
5
+// Then we check that its summary is empty.
6
+assert-text: (".item-table .item-right", "")
src/test/rustdoc-gui/src/lib2/lib.rs
@@ -54,3 +54,10 @@ pub mod long_trait {
54
pub trait ALongNameBecauseItHelpsTestingTheCurrentProblem: DerefMut<Target = u32>
55
+ From<u128> + Send + Sync + AsRef<str> + 'static {}
56
}
57
+
58
+pub mod summary_table {
59
+ /// | header 1 | header 2 |
60
+ /// | -------- | -------- |
61
+ /// | content | content |
62
+ pub struct Foo;
63
+}
0 commit comments