@@ -257,9 +257,6 @@ crate struct RenderOptions {
257257 /// If present, playground URL to use in the "Run" button added to code samples generated from
258258 /// standalone Markdown files. If not present, `playground_url` is used.
259259 crate markdown_playground_url : Option < String > ,
260- /// If false, the `select` element to have search filtering by crates on rendered docs
261- /// won't be generated.
262- crate generate_search_filter : bool ,
263260 /// Document items that have lower than `pub` visibility.
264261 crate document_private : bool ,
265262 /// Document items that have `doc(hidden)`.
@@ -638,7 +635,6 @@ impl Options {
638635 let crate_version = matches. opt_str ( "crate-version" ) ;
639636 let enable_index_page = matches. opt_present ( "enable-index-page" ) || index_page. is_some ( ) ;
640637 let static_root_path = matches. opt_str ( "static-root-path" ) ;
641- let generate_search_filter = !matches. opt_present ( "disable-per-crate-search" ) ;
642638 let test_run_directory = matches. opt_str ( "test-run-directory" ) . map ( PathBuf :: from) ;
643639 let persist_doctests = matches. opt_str ( "persist-doctests" ) . map ( PathBuf :: from) ;
644640 let test_builder = matches. opt_str ( "test-builder" ) . map ( PathBuf :: from) ;
@@ -724,7 +720,6 @@ impl Options {
724720 markdown_no_toc,
725721 markdown_css,
726722 markdown_playground_url,
727- generate_search_filter,
728723 document_private,
729724 document_hidden,
730725 generate_redirect_map,
0 commit comments