about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-05-12 17:34:16 -0700
committerMichael Howell <michael@notriddle.com>2022-05-12 17:34:46 -0700
commit1b41d11d741fa302acf34276aa3375330f31aad3 (patch)
tree92d35ba70d6a602b3292f84e5c9abf03a374a28e
parentc6499fd9987a2b338892f56cea26c39a6fe64d18 (diff)
downloadrust-1b41d11d741fa302acf34276aa3375330f31aad3.tar.gz
rust-1b41d11d741fa302acf34276aa3375330f31aad3.zip
rustdoc: remove weird, unused variable from source-files.js
-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())