about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-11 22:38:55 +0200
committerGitHub <noreply@github.com>2024-04-11 22:38:55 +0200
commit0ab8cc19312c21b5d4c504967fb3a88185fdfaef (patch)
tree6a8d8af499061fc553107f53ff46de99cbcdc834 /compiler/rustc_codegen_gcc
parentda75aaf13dd49acac6582510cf1ba631aab9e99b (diff)
parent510bfc2db959c01c0c91352f7de0c154191f084c (diff)
downloadrust-0ab8cc19312c21b5d4c504967fb3a88185fdfaef.tar.gz
rust-0ab8cc19312c21b5d4c504967fb3a88185fdfaef.zip
Rollup merge of #123784 - GuillaumeGomez:replace-document-write, r=notriddle
Replace `document.write` with `document.head.insertAdjacent`

From [this comment](https://github.com/rust-lang/rust/pull/123706/files#r1559864981), using `document.write` is strongly discouraged (explained on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Document/write)).

I think in this case it was mostly ok but better be on the safe side.

r? `@notriddle`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions