Skip to content

Commit 48a3bcd

Browse files
crates.js should use root_path and not static_root_path
1 parent 4b9f5cc commit 48a3bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/layout.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ crate fn render<T: Print, S: Print>(
5858
{style_files}\
5959
<script id=\"default-settings\"{default_settings}></script>\
6060
<script src=\"{static_root_path}storage{suffix}.js\"></script>\
61-
<script src=\"{static_root_path}crates{suffix}.js\"></script>\
61+
<script src=\"{root_path}crates{suffix}.js\"></script>\
6262
<noscript><link rel=\"stylesheet\" href=\"{static_root_path}noscript{suffix}.css\"></noscript>\
6363
{css_extension}\
6464
{favicon}\

0 commit comments

Comments
 (0)