@@ -257,9 +257,6 @@ crate struct RenderOptions {
257
257
/// If present, playground URL to use in the "Run" button added to code samples generated from
258
258
/// standalone Markdown files. If not present, `playground_url` is used.
259
259
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 ,
263
260
/// Document items that have lower than `pub` visibility.
264
261
crate document_private : bool ,
265
262
/// Document items that have `doc(hidden)`.
@@ -638,7 +635,6 @@ impl Options {
638
635
let crate_version = matches. opt_str ( "crate-version" ) ;
639
636
let enable_index_page = matches. opt_present ( "enable-index-page" ) || index_page. is_some ( ) ;
640
637
let static_root_path = matches. opt_str ( "static-root-path" ) ;
641
- let generate_search_filter = !matches. opt_present ( "disable-per-crate-search" ) ;
642
638
let test_run_directory = matches. opt_str ( "test-run-directory" ) . map ( PathBuf :: from) ;
643
639
let persist_doctests = matches. opt_str ( "persist-doctests" ) . map ( PathBuf :: from) ;
644
640
let test_builder = matches. opt_str ( "test-builder" ) . map ( PathBuf :: from) ;
@@ -724,7 +720,6 @@ impl Options {
724
720
markdown_no_toc,
725
721
markdown_css,
726
722
markdown_playground_url,
727
- generate_search_filter,
728
723
document_private,
729
724
document_hidden,
730
725
generate_redirect_map,
0 commit comments