@@ -1173,7 +1173,7 @@ themePicker.onblur = handleThemeButtonsBlur;
11731173 title : "Index of crates" ,
11741174 css_class : "mod" ,
11751175 root_path : "./" ,
1176- static_root_path : cx. shared . static_root_path . deref ( ) ,
1176+ static_root_path : cx. shared . static_root_path . as_deref ( ) ,
11771177 description : "List of crates" ,
11781178 keywords : BASIC_KEYWORDS ,
11791179 resource_suffix : & cx. shared . resource_suffix ,
@@ -1513,7 +1513,7 @@ impl<'a> SourceCollector<'a> {
15131513 title : & title,
15141514 css_class : "source" ,
15151515 root_path : & root_path,
1516- static_root_path : self . scx . static_root_path . deref ( ) ,
1516+ static_root_path : self . scx . static_root_path . as_deref ( ) ,
15171517 description : & desc,
15181518 keywords : BASIC_KEYWORDS ,
15191519 resource_suffix : & self . scx . resource_suffix ,
@@ -2110,7 +2110,7 @@ impl Context {
21102110 title : "List of all items in this crate" ,
21112111 css_class : "mod" ,
21122112 root_path : "../" ,
2113- static_root_path : self . shared . static_root_path . deref ( ) ,
2113+ static_root_path : self . shared . static_root_path . as_deref ( ) ,
21142114 description : "List of all items in this crate" ,
21152115 keywords : BASIC_KEYWORDS ,
21162116 resource_suffix : & self . shared . resource_suffix ,
@@ -2195,7 +2195,7 @@ impl Context {
21952195 let page = layout:: Page {
21962196 css_class : tyname,
21972197 root_path : & self . root_path ( ) ,
2198- static_root_path : self . shared . static_root_path . deref ( ) ,
2198+ static_root_path : self . shared . static_root_path . as_deref ( ) ,
21992199 title : & title,
22002200 description : & desc,
22012201 keywords : & keywords,
0 commit comments