diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-02-26 16:26:59 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-02-26 20:58:36 +0100 |
| commit | 27db6882038b67d83b8aecf108b18dd350f7e7cc (patch) | |
| tree | 6d3782c8b6eba6c6e03057e262be6613d4a1c718 /src/librustdoc/html/static/js/source-script.js | |
| parent | 26c98689f2060ec834dbe8b8e80b24b31ffd48f2 (diff) | |
| download | rust-27db6882038b67d83b8aecf108b18dd350f7e7cc.tar.gz rust-27db6882038b67d83b8aecf108b18dd350f7e7cc.zip | |
Clean up JS files code a bit
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
| -rw-r--r-- | src/librustdoc/html/static/js/source-script.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/js/source-script.js b/src/librustdoc/html/static/js/source-script.js index 0e1c864e62d..6c0f03b5bb0 100644 --- a/src/librustdoc/html/static/js/source-script.js +++ b/src/librustdoc/html/static/js/source-script.js @@ -117,8 +117,7 @@ function createSourceSidebar() { sidebar.appendChild(title); Object.keys(sourcesIndex).forEach(key => { sourcesIndex[key][NAME_OFFSET] = key; - hasFoundFile = createDirEntry(sourcesIndex[key], sidebar, "", - hasFoundFile); + hasFoundFile = createDirEntry(sourcesIndex[key], sidebar, "", hasFoundFile); }); container.appendChild(sidebar); |
