about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorDirkjan Ochtman <dirkjan@ochtman.nl>2022-01-09 21:33:00 +0100
committerDirkjan Ochtman <dirkjan@ochtman.nl>2022-01-10 18:40:57 +0100
commitef96d573bff12330080d22f12cad96b818ea5da7 (patch)
tree0d3d502af62811ad5348158bf7eb69be9c939707 /src/librustdoc/html
parentb00d6668b7665fbf040e4768030571bb5aa8c6de (diff)
downloadrust-ef96d573bff12330080d22f12cad96b818ea5da7.tar.gz
rust-ef96d573bff12330080d22f12cad96b818ea5da7.zip
Remove configuration which became unused in 8abb4bb698c9d74507adb9cd7b54a032f3c1b595
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/layout.rs3
-rw-r--r--src/librustdoc/html/render/context.rs2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs
index 38d333cc983..4ca71ea8684 100644
--- a/src/librustdoc/html/layout.rs
+++ b/src/librustdoc/html/layout.rs
@@ -19,9 +19,6 @@ crate struct Layout {
     /// The given user css file which allow to customize the generated
     /// documentation theme.
     crate css_file_extension: Option<PathBuf>,
-    /// If false, the `select` element to have search filtering by crates on rendered docs
-    /// won't be generated.
-    crate generate_search_filter: bool,
     /// If true, then scrape-examples.js will be included in the output HTML file
     crate scrape_examples_extension: bool,
 }
diff --git a/src/librustdoc/html/render/context.rs b/src/librustdoc/html/render/context.rs
index 9d7be783e85..85661eefc73 100644
--- a/src/librustdoc/html/render/context.rs
+++ b/src/librustdoc/html/render/context.rs
@@ -387,7 +387,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
             extension_css,
             resource_suffix,
             static_root_path,
-            generate_search_filter,
             unstable_features,
             generate_redirect_map,
             show_type_layout,
@@ -417,7 +416,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
             default_settings,
             krate: krate.name(tcx).to_string(),
             css_file_extension: extension_css,
-            generate_search_filter,
             scrape_examples_extension: !call_locations.is_empty(),
         };
         let mut issue_tracker_base_url = None;