diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html
index 4efcfc510a25..df13e597f1fd 100644
--- a/src/librustdoc/html/templates/page.html
+++ b/src/librustdoc/html/templates/page.html
@@ -40,7 +40,7 @@
{%- endif -%}
{#- -#}
{%- if layout.scrape_examples_extension -%}
- {#- -#}
+ {#- -#}
{%- endif -%}