From 78184df2d9b60b4b8a46995deb6a1ff2dfbac6da 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 0941f758de57c..6bc183664a3c3 100644 --- a/src/librustdoc/html/templates/page.html +++ b/src/librustdoc/html/templates/page.html @@ -7,8 +7,7 @@ {# #} {{page.title}} {# #} {# #} {# #}