]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: Just "stability" instead of "stability dashboard"
authorBrian Anderson <banderson@mozilla.com>
Mon, 4 Aug 2014 21:31:53 +0000 (14:31 -0700)
committerBrian Anderson <banderson@mozilla.com>
Mon, 4 Aug 2014 21:37:07 +0000 (14:37 -0700)
The words "stability dashboard" take up too much space on small screens.

src/librustdoc/html/render.rs

index e3a776e04db82abd5a2616a1a75afede7944a625..76e18d5258c49902377be20e4b2128d229c5390c 100644 (file)
@@ -1333,7 +1333,7 @@ fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
         // Write stability dashboard link
         match self.item.inner {
             clean::ModuleItem(ref m) if m.is_crate => {
-                try!(write!(fmt, "<a href='stability.html'>[stability dashboard]</a> "));
+                try!(write!(fmt, "<a href='stability.html'>[stability]</a> "));
             }
             _ => {}
         };