about summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2021-08-30 16:11:10 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2021-08-30 16:21:23 +0200
commiteb913664333036b185bd5d5f3df3ce270864aaa6 (patch)
treed2844e910ac5c1524e4ec30c679573655c58d95f /src/librustdoc/html/render
parent8553c199e7c7764dce12eff38ee4235a0fe455d6 (diff)
downloadrust-eb913664333036b185bd5d5f3df3ce270864aaa6.tar.gz
rust-eb913664333036b185bd5d5f3df3ce270864aaa6.zip
Put back "auto-collapse-implementors" setting
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 0b060468d05..70f1e6e024d 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -453,6 +453,7 @@ fn settings(root_path: &str, suffix: &str, themes: &[StylePath]) -> Result<Strin
         ("auto-hide-method-docs", "Auto-hide item methods' documentation", false).into(),
         ("auto-hide-trait-implementations", "Auto-hide trait implementation documentation", false)
             .into(),
+        ("auto-collapse-implementors", "Auto-hide implementors of a trait", true).into(),
         ("go-to-only-result", "Directly go to item in search if there is only one result", false)
             .into(),
         ("line-numbers", "Show line numbers on code examples", false).into(),