@@ -18,7 +18,7 @@ use super::search_index::build_index;
1818use super :: write_shared:: write_shared;
1919use super :: {
2020 collect_spans_and_sources, print_sidebar, scrape_examples_help, sidebar_module_like, AllTypes ,
21- LinkFromSrc , NameDoc , StylePath , BASIC_KEYWORDS ,
21+ LinkFromSrc , NameDoc , StylePath ,
2222} ;
2323
2424use crate :: clean:: { self , types:: ExternalLocation , ExternalCrate } ;
@@ -195,7 +195,6 @@ impl<'tcx> Context<'tcx> {
195195 self . shared. layout. krate
196196 )
197197 } ;
198- let keywords = make_item_keywords ( it) ;
199198 let name;
200199 let tyname_s = if it. is_crate ( ) {
201200 name = format ! ( "{} crate" , tyname) ;
@@ -212,7 +211,6 @@ impl<'tcx> Context<'tcx> {
212211 static_root_path : clone_shared. static_root_path . as_deref ( ) ,
213212 title : & title,
214213 description : & desc,
215- keywords : & keywords,
216214 resource_suffix : & clone_shared. resource_suffix ,
217215 } ;
218216 let mut page_buffer = Buffer :: html ( ) ;
@@ -598,7 +596,6 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
598596 root_path : "../" ,
599597 static_root_path : shared. static_root_path . as_deref ( ) ,
600598 description : "List of all items in this crate" ,
601- keywords : BASIC_KEYWORDS ,
602599 resource_suffix : & shared. resource_suffix ,
603600 } ;
604601 let all = shared. all . replace ( AllTypes :: new ( ) ) ;
@@ -828,7 +825,3 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
828825 & self . shared . cache
829826 }
830827}
831-
832- fn make_item_keywords ( it : & clean:: Item ) -> String {
833- format ! ( "{}, {}" , BASIC_KEYWORDS , it. name. as_ref( ) . unwrap( ) )
834- }
0 commit comments