@@ -1304,7 +1304,7 @@ impl<'a> Item<'a> {
1304
1304
impl < ' a > fmt:: Show for Item < ' a > {
1305
1305
fn fmt ( & self , fmt : & mut fmt:: Formatter ) -> fmt:: Result {
1306
1306
// Write the breadcrumb trail header for the top
1307
- try!( write ! ( fmt, "\n <h1 class='fqn'><div class='in-band'>" ) ) ;
1307
+ try!( write ! ( fmt, "\n <h1 class='fqn'><span class='in-band'>" ) ) ;
1308
1308
match self . item . inner {
1309
1309
clean:: ModuleItem ( ref m) => if m. is_crate {
1310
1310
try!( write ! ( fmt, "Crate " ) ) ;
@@ -1337,8 +1337,9 @@ impl<'a> fmt::Show for Item<'a> {
1337
1337
// Write stability level
1338
1338
try!( write ! ( fmt, "<wbr>{}" , Stability ( & self . item. stability) ) ) ;
1339
1339
1340
+ try!( write ! ( fmt, "</span>" ) ) ; // in-band
1340
1341
// Links to out-of-band information, i.e. src and stability dashboard
1341
- try!( write ! ( fmt, "</div><div class='out-of-band'>" ) ) ;
1342
+ try!( write ! ( fmt, "<span class='out-of-band'>" ) ) ;
1342
1343
1343
1344
// Write stability dashboard link
1344
1345
match self . item . inner {
@@ -1370,7 +1371,7 @@ impl<'a> fmt::Show for Item<'a> {
1370
1371
}
1371
1372
}
1372
1373
1373
- try!( write ! ( fmt, "</div >" ) ) ;
1374
+ try!( write ! ( fmt, "</span >" ) ) ; // out-of-band
1374
1375
1375
1376
try!( write ! ( fmt, "</h1>\n " ) ) ;
1376
1377
0 commit comments