Rollup merge of #96998 - notriddle:notriddle/var-N, r=jsha

rustdoc: remove weird, unused variable from source-files.js
This commit is contained in:
Yuki Okushi 2022-05-14 13:42:52 +09:00 committed by GitHub
commit 93a4dfd737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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())