Skip to content

Commit e081cd4

Browse files
Remove unneeded file to load sidebar items at crate level
1 parent 5a87482 commit e081cd4

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/librustdoc/html/render/write_shared.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ pub(super) fn write_shared(
227227
)?;
228228
write_minify("search.js", static_files::SEARCH_JS)?;
229229
write_minify("settings.js", static_files::SETTINGS_JS)?;
230-
write_minify("sidebar-items.js", static_files::sidebar::ITEMS)?;
231230

232231
if cx.shared.include_sources {
233232
write_minify("source-script.js", static_files::sidebar::SOURCE_SCRIPT)?;

src/librustdoc/html/static/sidebar-items.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/librustdoc/html/static_files.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,4 @@ crate mod noto_sans_kr {
141141
crate mod sidebar {
142142
/// File script to handle sidebar.
143143
crate static SOURCE_SCRIPT: &str = include_str!("static/source-script.js");
144-
145-
/// Top Level sidebar items script which will load a sidebar without items.
146-
crate static ITEMS: &str = include_str!("static/sidebar-items.js");
147144
}

0 commit comments

Comments
 (0)