@@ -1143,7 +1143,7 @@ themePicker.onblur = handleThemeButtonsBlur;
11431143 title : "Index of crates" ,
11441144 css_class : "mod" ,
11451145 root_path : "./" ,
1146- static_root_path : cx. shared . static_root_path . deref ( ) ,
1146+ static_root_path : cx. shared . static_root_path . as_deref ( ) ,
11471147 description : "List of crates" ,
11481148 keywords : BASIC_KEYWORDS ,
11491149 resource_suffix : & cx. shared . resource_suffix ,
@@ -1470,7 +1470,7 @@ impl<'a> SourceCollector<'a> {
14701470 title : & title,
14711471 css_class : "source" ,
14721472 root_path : & root_path,
1473- static_root_path : self . scx . static_root_path . deref ( ) ,
1473+ static_root_path : self . scx . static_root_path . as_deref ( ) ,
14741474 description : & desc,
14751475 keywords : BASIC_KEYWORDS ,
14761476 resource_suffix : & self . scx . resource_suffix ,
@@ -2068,7 +2068,7 @@ impl Context {
20682068 title : "List of all items in this crate" ,
20692069 css_class : "mod" ,
20702070 root_path : "../" ,
2071- static_root_path : self . shared . static_root_path . deref ( ) ,
2071+ static_root_path : self . shared . static_root_path . as_deref ( ) ,
20722072 description : "List of all items in this crate" ,
20732073 keywords : BASIC_KEYWORDS ,
20742074 resource_suffix : & self . shared . resource_suffix ,
@@ -2149,7 +2149,7 @@ impl Context {
21492149 let page = layout:: Page {
21502150 css_class : tyname,
21512151 root_path : & self . root_path ( ) ,
2152- static_root_path : self . shared . static_root_path . deref ( ) ,
2152+ static_root_path : self . shared . static_root_path . as_deref ( ) ,
21532153 title : & title,
21542154 description : & desc,
21552155 keywords : & keywords,
0 commit comments