Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f82b3a1

Browse files
Fix JS error in source code pages
1 parent 8a2fe75 commit f82b3a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustdoc/html/static/js/source-script.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// From rust:
2-
/* global search, sourcesIndex */
2+
/* global sourcesIndex */
33

44
// Local js definitions:
55
/* global addClass, getCurrentValue, hasClass, onEachLazy, removeClass, browserSupportsHistoryApi */
@@ -69,7 +69,6 @@ function createDirEntry(elem, parent, fullPath, currentFile, hasFoundFile) {
6969
files.appendChild(file);
7070
}
7171
}
72-
search.fullPath = fullPath;
7372
children.appendChild(files);
7473
parent.appendChild(name);
7574
parent.appendChild(children);

0 commit comments

Comments
 (0)