Skip to content

Commit a245642

Browse files
jshaGuillaumeGomez
andauthored
Change root_path to static_root_path
Co-authored-by: Guillaume Gomez <[email protected]>
1 parent d44c6ed commit a245642

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
@@ -114,7 +114,7 @@ crate fn render<T: Print, S: Print>(
114114
{after_content}\
115115
<div id=\"rustdoc-vars\" data-root-path=\"{root_path}\" data-current-crate=\"{krate}\" \
116116
data-search-index-js=\"{root_path}search-index{suffix}.js\" \
117-
data-search-js=\"{root_path}search{suffix}.js\"></div>
117+
data-search-js=\"{static_root_path}search{suffix}.js\"></div>
118118
<script src=\"{static_root_path}main{suffix}.js\"></script>\
119119
{extra_scripts}\
120120
</body>\

0 commit comments

Comments
 (0)