diff options
Diffstat (limited to 'src/librustdoc/html/render.rs')
| -rw-r--r-- | src/librustdoc/html/render.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 1194df20ad6..6158815fb9a 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -793,6 +793,8 @@ fn write_shared( static_files::BRUSH_SVG)?; write(cx.dst.join(&format!("wheel{}.svg", cx.shared.resource_suffix)), static_files::WHEEL_SVG)?; + write(cx.dst.join(&format!("down-arrow{}.svg", cx.shared.resource_suffix)), + static_files::DOWN_ARROW_SVG)?; write_minify(cx.dst.join(&format!("light{}.css", cx.shared.resource_suffix)), static_files::themes::LIGHT, options.enable_minification)?; @@ -1066,7 +1068,7 @@ themePicker.onblur = handleThemeButtonsBlur; &[(minifier::js::Keyword::Null, "N")]), &dst); } - try_err!(writeln!(&mut w, "initSearch(searchIndex);"), &dst); + try_err!(writeln!(&mut w, "initSearch(searchIndex);addSearchOptions(searchIndex);"), &dst); if options.enable_index_page { if let Some(index_page) = options.index_page.clone() { |
