diff options
| author | bors <bors@rust-lang.org> | 2021-03-14 09:16:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-14 09:16:23 +0000 |
| commit | f293f70dd848ae2371b6fad2eb9f4081e920da88 (patch) | |
| tree | 164a892d56e698ee1c5f25efd430e3a81ad9f841 | |
| parent | 2caeeb0527894cd61c22b5ca69bda28a2ff64de3 (diff) | |
| parent | 48a3bcd860f995f7fb476b9bb4ec6b67abc7a049 (diff) | |
| download | rust-f293f70dd848ae2371b6fad2eb9f4081e920da88.tar.gz rust-f293f70dd848ae2371b6fad2eb9f4081e920da88.zip | |
Auto merge of #83094 - GuillaumeGomez:crates-js-location, r=Nemo157
crates.js should use root_path and not static_root_path r? `@Nemo157`
| -rw-r--r-- | src/librustdoc/html/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index ab65c71d7d1..a717b304566 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -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}\ |
