@@ -1173,7 +1173,7 @@ themePicker.onblur = handleThemeButtonsBlur;
1173
1173
title : "Index of crates" ,
1174
1174
css_class : "mod" ,
1175
1175
root_path : "./" ,
1176
- static_root_path : cx. shared . static_root_path . deref ( ) ,
1176
+ static_root_path : cx. shared . static_root_path . as_deref ( ) ,
1177
1177
description : "List of crates" ,
1178
1178
keywords : BASIC_KEYWORDS ,
1179
1179
resource_suffix : & cx. shared . resource_suffix ,
@@ -1513,7 +1513,7 @@ impl<'a> SourceCollector<'a> {
1513
1513
title : & title,
1514
1514
css_class : "source" ,
1515
1515
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 ( ) ,
1517
1517
description : & desc,
1518
1518
keywords : BASIC_KEYWORDS ,
1519
1519
resource_suffix : & self . scx . resource_suffix ,
@@ -2110,7 +2110,7 @@ impl Context {
2110
2110
title : "List of all items in this crate" ,
2111
2111
css_class : "mod" ,
2112
2112
root_path : "../" ,
2113
- static_root_path : self . shared . static_root_path . deref ( ) ,
2113
+ static_root_path : self . shared . static_root_path . as_deref ( ) ,
2114
2114
description : "List of all items in this crate" ,
2115
2115
keywords : BASIC_KEYWORDS ,
2116
2116
resource_suffix : & self . shared . resource_suffix ,
@@ -2195,7 +2195,7 @@ impl Context {
2195
2195
let page = layout:: Page {
2196
2196
css_class : tyname,
2197
2197
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 ( ) ,
2199
2199
title : & title,
2200
2200
description : & desc,
2201
2201
keywords : & keywords,
0 commit comments