@@ -1143,7 +1143,7 @@ themePicker.onblur = handleThemeButtonsBlur;
1143
1143
title : "Index of crates" ,
1144
1144
css_class : "mod" ,
1145
1145
root_path : "./" ,
1146
- static_root_path : cx. shared . static_root_path . deref ( ) ,
1146
+ static_root_path : cx. shared . static_root_path . as_deref ( ) ,
1147
1147
description : "List of crates" ,
1148
1148
keywords : BASIC_KEYWORDS ,
1149
1149
resource_suffix : & cx. shared . resource_suffix ,
@@ -1470,7 +1470,7 @@ impl<'a> SourceCollector<'a> {
1470
1470
title : & title,
1471
1471
css_class : "source" ,
1472
1472
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 ( ) ,
1474
1474
description : & desc,
1475
1475
keywords : BASIC_KEYWORDS ,
1476
1476
resource_suffix : & self . scx . resource_suffix ,
@@ -2068,7 +2068,7 @@ impl Context {
2068
2068
title : "List of all items in this crate" ,
2069
2069
css_class : "mod" ,
2070
2070
root_path : "../" ,
2071
- static_root_path : self . shared . static_root_path . deref ( ) ,
2071
+ static_root_path : self . shared . static_root_path . as_deref ( ) ,
2072
2072
description : "List of all items in this crate" ,
2073
2073
keywords : BASIC_KEYWORDS ,
2074
2074
resource_suffix : & self . shared . resource_suffix ,
@@ -2149,7 +2149,7 @@ impl Context {
2149
2149
let page = layout:: Page {
2150
2150
css_class : tyname,
2151
2151
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 ( ) ,
2153
2153
title : & title,
2154
2154
description : & desc,
2155
2155
keywords : & keywords,
0 commit comments