From 510bfc2db959c01c0c91352f7de0c154191f084c Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 11 Apr 2024 11:56:18 +0200 Subject: [PATCH] Replace `document.write` with `document.head.insertAdjacentHTML` --- src/librustdoc/html/templates/page.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html index 0941f758de5..1dc9041658e 100644 --- a/src/librustdoc/html/templates/page.html +++ b/src/librustdoc/html/templates/page.html @@ -7,8 +7,7 @@ {# #} {{page.title}} {# #} {# #} {# #}