about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-14 13:42:52 +0900
committerGitHub <noreply@github.com>2022-05-14 13:42:52 +0900
commit93a4dfd7378a12c591df79065729b8d13117e2cf (patch)
treee830ab67dffe2fee596c2d0ba81edbbb053baf88 /src/librustdoc/html
parentc031413f2897562c97f989266a2c6c95f9a45e71 (diff)
parent1b41d11d741fa302acf34276aa3375330f31aad3 (diff)
downloadrust-93a4dfd7378a12c591df79065729b8d13117e2cf.tar.gz
rust-93a4dfd7378a12c591df79065729b8d13117e2cf.zip
Rollup merge of #96998 - notriddle:notriddle/var-N, r=jsha
rustdoc: remove weird, unused variable from source-files.js
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/render/write_shared.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs
index e8e5fa17993..68f2a54ddeb 100644
--- a/src/librustdoc/html/render/write_shared.rs
+++ b/src/librustdoc/html/render/write_shared.rs
@@ -417,7 +417,7 @@ pub(super) fn write_shared(
             ));
             all_sources.sort();
             Ok(format!(
-                "var N = null;var sourcesIndex = {{}};\n{}\ncreateSourceSidebar();\n",
+                "var sourcesIndex = {{}};\n{}\ncreateSourceSidebar();\n",
                 all_sources.join("\n")
             )
             .into_bytes())