about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2015-02-18 21:38:32 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2015-02-18 21:38:32 +0200
commita36fc2d66cb95382008a4236f3a803350b64d784 (patch)
treedae458f448f1e198a1b03ef4363a737cc7d42c2d /src
parent204e2bd442f1fe7db7201c048300dbf66f123e30 (diff)
downloadrust-a36fc2d66cb95382008a4236f3a803350b64d784.tar.gz
rust-a36fc2d66cb95382008a4236f3a803350b64d784.zip
Fix inconsistent spacing of collapse all button
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/render.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index 95994af7dc8..fc3c8738991 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -1404,8 +1404,7 @@ impl<'a> fmt::Display for Item<'a> {
 
         try!(write!(fmt,
         r##"<span id='render-detail'>
-            <a id="collapse-all" href="#">[-]
-            </a>&nbsp;<a id="expand-all" href="#">[+]</a>
+            <a id="collapse-all" href="#">[-]</a>&nbsp;<a id="expand-all" href="#">[+]</a>
         </span>"##));
 
         // Write `src` tag