diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-01-21 21:54:14 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-01-27 10:05:05 +0100 |
| commit | 6a36b3f49d209a5321450d934f8a241d5cccbb0e (patch) | |
| tree | 4e881d6d8087e530a00a88d30f56fa7d185b4523 /src/librustdoc/html | |
| parent | 19630ead410873a08b271606b8ac5a27029d70b6 (diff) | |
| download | rust-6a36b3f49d209a5321450d934f8a241d5cccbb0e.tar.gz rust-6a36b3f49d209a5321450d934f8a241d5cccbb0e.zip | |
Apply review comments and improve code
Diffstat (limited to 'src/librustdoc/html')
| -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 74a770b9548..5c02be14181 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, Some(cache)), + search_type: get_index_search_type(&item, None), }); for alias in item.attrs.get_doc_aliases() { cache |
