@@ -18,7 +18,7 @@ use super::search_index::build_index;
18
18
use super :: write_shared:: write_shared;
19
19
use super :: {
20
20
collect_spans_and_sources, print_sidebar, scrape_examples_help, sidebar_module_like, AllTypes ,
21
- LinkFromSrc , NameDoc , StylePath , BASIC_KEYWORDS ,
21
+ LinkFromSrc , NameDoc , StylePath ,
22
22
} ;
23
23
24
24
use crate :: clean:: { self , types:: ExternalLocation , ExternalCrate } ;
@@ -195,7 +195,6 @@ impl<'tcx> Context<'tcx> {
195
195
self . shared. layout. krate
196
196
)
197
197
} ;
198
- let keywords = make_item_keywords ( it) ;
199
198
let name;
200
199
let tyname_s = if it. is_crate ( ) {
201
200
name = format ! ( "{} crate" , tyname) ;
@@ -212,7 +211,6 @@ impl<'tcx> Context<'tcx> {
212
211
static_root_path : clone_shared. static_root_path . as_deref ( ) ,
213
212
title : & title,
214
213
description : & desc,
215
- keywords : & keywords,
216
214
resource_suffix : & clone_shared. resource_suffix ,
217
215
} ;
218
216
let mut page_buffer = Buffer :: html ( ) ;
@@ -598,7 +596,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
598
596
root_path : "../" ,
599
597
static_root_path : shared. static_root_path . as_deref ( ) ,
600
598
description : "List of all items in this crate" ,
601
- keywords : BASIC_KEYWORDS ,
602
599
resource_suffix : & shared. resource_suffix ,
603
600
} ;
604
601
let all = shared. all . replace ( AllTypes :: new ( ) ) ;
@@ -828,7 +825,3 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
828
825
& self . shared . cache
829
826
}
830
827
}
831
-
832
- fn make_item_keywords ( it : & clean:: Item ) -> String {
833
- format ! ( "{}, {}" , BASIC_KEYWORDS , it. name. as_ref( ) . unwrap( ) )
834
- }
0 commit comments