From 07a243b2a46384235d7e2c08688978b7cf018973 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Thu, 25 Aug 2022 21:28:20 -0700 Subject: [PATCH] rustdoc: remove `type="text/css" from stylesheet links MDN directly recommends this in , since "CSS is the only stylesheet language used on the web." --- src/librustdoc/html/templates/page.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html index 8e25f6764a9..7caffeae3d6 100644 --- a/src/librustdoc/html/templates/page.html +++ b/src/librustdoc/html/templates/page.html @@ -13,13 +13,13 @@ {#- -#} {#- -#} {#- -#} - {#- -#} - {#- -#} {%- for theme in themes -%} - {#- -#} {#- -#} {%- if layout.css_file_extension.is_some() -%} - {#- -#} {%- endif -%} {%- if !layout.favicon.is_empty() -%}