Skip to content

Commit b8e4c54

Browse files
Fix invalid HTML DIV tag used in HEAD
1 parent 95978b3 commit b8e4c54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustdoc/html/templates/page.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{% endfor %}
2525
></script> {# #}
2626
{% endif %}
27-
<div id="rustdoc-vars" {#+ #}
27+
<meta id="rustdoc-vars" {#+ #}
2828
data-root-path="{{page.root_path|safe}}" {#+ #}
2929
data-static-root-path="{{static_root_path|safe}}" {#+ #}
3030
data-current-crate="{{layout.krate}}" {#+ #}
@@ -39,7 +39,6 @@
3939
data-theme-dark-css="{{files.theme_dark_css}}" {#+ #}
4040
data-theme-ayu-css="{{files.theme_ayu_css}}" {#+ #}
4141
> {# #}
42-
</div> {# #}
4342
<script src="{{static_root_path|safe}}{{files.storage_js}}"></script> {# #}
4443
{% if page.css_class.contains("crate") %}
4544
<script defer src="{{page.root_path|safe}}crates{{page.resource_suffix}}.js"></script> {# #}

0 commit comments

Comments
 (0)