diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index aac5d0d2601d..88d28323e1ac 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -37,128 +37,112 @@ pub fn render( -> io::Result<()> { write!(dst, -r##" - - - - - - - - - {title} - - - - {themes} - - - - {css_extension} - - {favicon} - {in_header} - - - - - {before_content} - - - -
- -
-
- - - -
{content}
- - - - - - - {after_content} - - - - - -"##, +"\ +\ +\ + \ + \ + \ + \ + \ + {title}\ + \ + \ + {themes}\ + \ + \ + \ + {css_extension}\ + {favicon}\ + {in_header}\ +\ +\ + \ + {before_content}\ + \ +
\ + \ +
\ +
\ + \ + \ +
{content}
\ +
\ +
\ + \ + {after_content}\ + \ + \ + \ +\ +", css_extension = if css_file_extension { format!("", root_path = page.root_path,