Skip to content

Commit ae27c79

Browse files
committed
rustdoc: fix scrape-examples JS path
1 parent a979b4a commit ae27c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/templates/page.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
{%- endif -%}
4141
<script defer src="{{static_root_path|safe}}{{files.main_js}}"></script> {#- -#}
4242
{%- if layout.scrape_examples_extension -%}
43-
<script defer src="{{page.root_path|safe}}{{files.scrape_examples_js}}"></script> {#- -#}
43+
<script defer src="{{static_root_path|safe}}{{files.scrape_examples_js}}"></script> {#- -#}
4444
{%- endif -%}
4545
<noscript> {#- -#}
4646
<link rel="stylesheet" {# -#}

0 commit comments

Comments
 (0)