Skip to content

Commit 64781d4

Browse files
committed
split up long line
done a bit awkwardly to try to avoid introducing new whitespaces nodes, which could affect display
1 parent 30589b4 commit 64781d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustdoc/html/static/js/storage.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,15 +411,16 @@ class RustdocToolbarElement extends HTMLElement {
411411
return;
412412
}
413413
const rootPath = getVar("root-path");
414-
// ignore-tidy-linelength
415414
this.innerHTML = `
416415
<div id="settings-menu" tabindex="-1">
417416
<a href="${rootPath}settings.html"><span class="label">Settings</span></a>
418417
</div>
419418
<div id="help-button" tabindex="-1">
420419
<a href="${rootPath}help.html"><span class="label">Help</span></a>
421420
</div>
422-
<button id="toggle-all-docs" title="Collapse sections (shift-click to also collapse impl blocks)"><span class="label">Summary</span></button>`;
421+
<button id="toggle-all-docs"
422+
title="Collapse sections (shift-click to also collapse impl blocks)"><span
423+
class="label">Summary</span></button>`;
423424
}
424425
}
425426
window.customElements.define("rustdoc-toolbar", RustdocToolbarElement);

0 commit comments

Comments
 (0)