@@ -1744,13 +1744,6 @@ fn print_sidebar(cx: &Context<'_>, it: &clean::Item, buffer: &mut Buffer) {
17441744            buffer, 
17451745            "<h2 class=\" location\" ><a href=\" #\" >{}{}</a></h2>" , 
17461746            match  * it. kind { 
1747-                 clean:: StructItem ( ..)  => "Struct " , 
1748-                 clean:: TraitItem ( ..)  => "Trait " , 
1749-                 clean:: PrimitiveItem ( ..)  => "Primitive Type " , 
1750-                 clean:: UnionItem ( ..)  => "Union " , 
1751-                 clean:: EnumItem ( ..)  => "Enum " , 
1752-                 clean:: TypedefItem ( ..)  => "Type Definition " , 
1753-                 clean:: ForeignTypeItem  => "Foreign Type " , 
17541747                clean:: ModuleItem ( ..)  =>
17551748                    if  it. is_crate( )  { 
17561749                        "Crate " 
@@ -1763,26 +1756,14 @@ fn print_sidebar(cx: &Context<'_>, it: &clean::Item, buffer: &mut Buffer) {
17631756        ) ; 
17641757    } 
17651758
1759+     buffer. write_str ( "<div class=\" sidebar-elems\" >" ) ; 
17661760    if  it. is_crate ( )  { 
1761+         write ! ( buffer,  "<div class=\" block\" ><ul>" ) ; 
17671762        if  let  Some ( ref  version)  = cx. cache ( ) . crate_version  { 
1768-             write ! ( 
1769-                 buffer, 
1770-                 "<div class=\" block version\" >\  
1771-                       <div class=\" narrow-helper\" ></div>\ 
1772-                       <p>Version {}</p>\ 
1773-                   </div>", 
1774-                 Escape ( version) , 
1775-             ) ; 
1763+             write ! ( buffer,  "<li class=\" version\" >Version {}</li>" ,  Escape ( version) ) ; 
17761764        } 
1777-     } 
1778- 
1779-     buffer. write_str ( "<div class=\" sidebar-elems\" >" ) ; 
1780-     if  it. is_crate ( )  { 
1781-         write ! ( 
1782-             buffer, 
1783-             "<a id=\" all-types\"  href=\" all.html\" ><p>See all {}'s items</p></a>" , 
1784-             it. name. as_ref( ) . expect( "crates always have a name" ) , 
1785-         ) ; 
1765+         write ! ( buffer,  "<li><a id=\" all-types\"  href=\" all.html\" >All Items</a></li>" ) ; 
1766+         buffer. write_str ( "</div></ul>" ) ; 
17861767    } 
17871768
17881769    match  * it. kind  { 
@@ -1806,7 +1787,7 @@ fn print_sidebar(cx: &Context<'_>, it: &clean::Item, buffer: &mut Buffer) {
18061787    // to navigate the documentation (though slightly inefficiently). 
18071788
18081789    if  !it. is_mod ( )  { 
1809-         buffer. write_str ( "<h2 class=\" location\" >Other items in<br> " ) ; 
1790+         buffer. write_str ( "<h2 class=\" location\" >In  " ) ; 
18101791        for  ( i,  name)  in  cx. current . iter ( ) . take ( parentlen) . enumerate ( )  { 
18111792            if  i > 0  { 
18121793                buffer. write_str ( "::<wbr>" ) ; 
0 commit comments