Skip to content

Commit

Permalink
Rollup merge of rust-lang#83094 - GuillaumeGomez:crates-js-location, …
Browse files Browse the repository at this point in the history
…r=Nemo157

crates.js should use root_path and not static_root_path

r? `@Nemo157`
  • Loading branch information
GuillaumeGomez authored Mar 13, 2021
2 parents 2b438a0 + 48a3bcd commit 36628ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ crate fn render<T: Print, S: Print>(
{style_files}\
<script id=\"default-settings\"{default_settings}></script>\
<script src=\"{static_root_path}storage{suffix}.js\"></script>\
<script src=\"{static_root_path}crates{suffix}.js\"></script>\
<script src=\"{root_path}crates{suffix}.js\"></script>\
<noscript><link rel=\"stylesheet\" href=\"{static_root_path}noscript{suffix}.css\"></noscript>\
{css_extension}\
{favicon}\
Expand Down

0 comments on commit 36628ff

Please sign in to comment.