about summary refs log tree commit diff
path: root/src/test/rustdoc-gui
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-08-27 13:14:21 +0900
committerGitHub <noreply@github.com>2022-08-27 13:14:21 +0900
commit6ccad25359ac92bcd0d971d9037336ce30fcf326 (patch)
tree6c5ab15e41ee43ddcf7720f501b8687fd60d1e59 /src/test/rustdoc-gui
parentf4d4a40a7c9f967d972e5fab65d026c4e5d175ee (diff)
parente7b7f8855f97cb66b2b4008888c7ba0e8f2c2db6 (diff)
downloadrust-6ccad25359ac92bcd0d971d9037336ce30fcf326.tar.gz
rust-6ccad25359ac92bcd0d971d9037336ce30fcf326.zip
Rollup merge of #101018 - notriddle:notriddle/item-right-docblock-short, r=GuillaumeGomez
rustdoc: omit start/end tags for empty item description blocks

Related to #100952

This is definitely not a complete solution, but it does shrink keysyms/index.html on smithay from 620K to 516K.
Diffstat (limited to 'src/test/rustdoc-gui')
-rw-r--r--src/test/rustdoc-gui/item-summary-table.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/item-summary-table.goml b/src/test/rustdoc-gui/item-summary-table.goml
index 6bf4e288c43..4bff32b3d5d 100644
--- a/src/test/rustdoc-gui/item-summary-table.goml
+++ b/src/test/rustdoc-gui/item-summary-table.goml
@@ -3,4 +3,4 @@ goto: file://|DOC_PATH|/lib2/summary_table/index.html
 // We check that we picked the right item first.
 assert-text: (".item-table .item-left", "Foo")
 // Then we check that its summary is empty.
-assert-text: (".item-table .item-right", "")
+assert-false: ".item-table .item-right"