diff options
| author | Rory O’Kane <rory@roryokane.com> | 2015-04-30 00:25:37 -0400 |
|---|---|---|
| committer | Rory O’Kane <rory@roryokane.com> | 2015-04-30 00:25:37 -0400 |
| commit | 6ce05ae6bb0e5762dee940d043feb728e5583564 (patch) | |
| tree | af55eb6feffc6988ebe309c2d5331abe3f0e64f3 | |
| parent | fc9bddd1052f3f4002438d70c109dd6d69eeeba0 (diff) | |
| download | rust-6ce05ae6bb0e5762dee940d043feb728e5583564.tar.gz rust-6ce05ae6bb0e5762dee940d043feb728e5583564.zip | |
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.
| -rw-r--r-- | src/librustdoc/html/render.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 55935a90630..ad26d25c81a 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -1460,7 +1460,8 @@ impl<'a> fmt::Display for Item<'a> { try!(write!(fmt, "<span class='out-of-band'>")); try!(write!(fmt, r##"<span id='render-detail'> - <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[−]</a> + <a id="toggle-all-docs" href="javascript:void(0)" + title="collapse all docs">[−]</a> </span>"##)); // Write `src` tag |
