Skip to content

Commit 6ce05ae

Browse files
committed
Fix style warning, “line longer than 100 chars”
Error was noted at https://travis-ci.org/rust-lang/rust/builds/60643081#L371 I didn’t just put the content of the node on another line, because that would add spaces around the element content, messing up the JavaScript that checks what the content is.
1 parent fc9bddd commit 6ce05ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustdoc/html/render.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,8 @@ impl<'a> fmt::Display for Item<'a> {
14601460
try!(write!(fmt, "<span class='out-of-band'>"));
14611461
try!(write!(fmt,
14621462
r##"<span id='render-detail'>
1463-
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[&#x2212;]</a>
1463+
<a id="toggle-all-docs" href="javascript:void(0)"
1464+
title="collapse all docs">[&#x2212;]</a>
14641465
</span>"##));
14651466

14661467
// Write `src` tag

0 commit comments

Comments
 (0)