diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-01-30 17:39:18 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-02-01 15:56:51 +0100 |
| commit | 198e3aba8f00bc086ed6020f6420064e26a820c7 (patch) | |
| tree | 384f82ec14569b920d0cfeb45b2b2ddac6dee71d /src/librustdoc/html/render | |
| parent | a2f8f6281817d430e20726128b739d3c6708561c (diff) | |
| download | rust-198e3aba8f00bc086ed6020f6420064e26a820c7.tar.gz rust-198e3aba8f00bc086ed6020f6420064e26a820c7.zip | |
Put back primitives in search
Diffstat (limited to 'src/librustdoc/html/render')
| -rw-r--r-- | src/librustdoc/html/render/cache.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/cache.rs b/src/librustdoc/html/render/cache.rs index 5c02be14181..74a770b9548 100644 --- a/src/librustdoc/html/render/cache.rs +++ b/src/librustdoc/html/render/cache.rs @@ -78,7 +78,7 @@ crate fn build_index(krate: &clean::Crate, cache: &mut Cache) -> String { desc: item.doc_value().map_or_else(String::new, |s| short_markdown_summary(&s)), parent: Some(did), parent_idx: None, - search_type: get_index_search_type(&item, None), + search_type: get_index_search_type(&item, Some(cache)), }); for alias in item.attrs.get_doc_aliases() { cache |
