@@ -263,14 +263,14 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
263263 curty = myty;
264264 } else if myty != curty {
265265 if curty. is_some ( ) {
266- w. write_str ( "</table>" ) ;
266+ w. write_str ( "</item- table>" ) ;
267267 }
268268 curty = myty;
269269 let ( short, name) = item_ty_to_strs ( myty. unwrap ( ) ) ;
270270 write ! (
271271 w,
272272 "<h2 id=\" {id}\" class=\" section-header\" >\
273- <a href=\" #{id}\" >{name}</a></h2>\n <table>",
273+ <a href=\" #{id}\" >{name}</a></h2>\n <item- table>",
274274 id = cx. derive_id( short. to_owned( ) ) ,
275275 name = name
276276 ) ;
@@ -283,14 +283,14 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
283283 match * src {
284284 Some ( ref src) => write ! (
285285 w,
286- "<tr><td ><code>{}extern crate {} as {};" ,
286+ "<item-left ><code>{}extern crate {} as {};" ,
287287 myitem. visibility. print_with_space( myitem. def_id, cx) ,
288288 anchor( myitem. def_id. expect_real( ) , & * src. as_str( ) , cx) ,
289289 myitem. name. as_ref( ) . unwrap( ) ,
290290 ) ,
291291 None => write ! (
292292 w,
293- "<tr><td ><code>{}extern crate {};" ,
293+ "<item-left ><code>{}extern crate {};" ,
294294 myitem. visibility. print_with_space( myitem. def_id, cx) ,
295295 anchor(
296296 myitem. def_id. expect_real( ) ,
@@ -299,7 +299,7 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
299299 ) ,
300300 ) ,
301301 }
302- w. write_str ( "</code></td></tr> " ) ;
302+ w. write_str ( "</code></item-left> \n " ) ;
303303 }
304304
305305 clean:: ImportItem ( ref import) => {
@@ -326,10 +326,10 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
326326
327327 write ! (
328328 w,
329- "<tr class=\" {stab}{add}import-item\" >\
330- <td>< code>{vis}{imp}</code></td >\
331- <td class= \" docblock-short \" >{stab_tags}</td >\
332- </tr> ",
329+ "<item-left class=\" {stab}{add}import-item\" >\
330+ <code>{vis}{imp}</code>\
331+ </item-left >\
332+ <item-right class= \" docblock-short \" >{stab_tags}</item-right> \n ",
333333 stab = stab. unwrap_or_default( ) ,
334334 add = add,
335335 vis = myitem. visibility. print_with_space( myitem. def_id, cx) ,
@@ -358,11 +358,10 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
358358 let doc_value = myitem. doc_value ( ) . unwrap_or_default ( ) ;
359359 write ! (
360360 w,
361- "<tr class=\" {stab}{add}module-item\" >\
362- <td><a class=\" {class}\" href=\" {href}\" \
363- title=\" {title}\" >{name}</a>{unsafety_flag}</td>\
364- <td class=\" docblock-short\" >{stab_tags}{docs}</td>\
365- </tr>",
361+ "<item-left class=\" {stab}{add}module-item\" >\
362+ <a class=\" {class}\" href=\" {href}\" \
363+ title=\" {title}\" >{name}</a>{unsafety_flag}</item-left>\
364+ <item-right class=\" docblock-short\" >{stab_tags}{docs}</item-right>\n ",
366365 name = * myitem. name. as_ref( ) . unwrap( ) ,
367366 stab_tags = extra_info_tags( myitem, item, cx. tcx( ) ) ,
368367 docs = MarkdownSummaryLine ( & doc_value, & myitem. links( cx) ) . into_string( ) ,
@@ -382,7 +381,7 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
382381 }
383382
384383 if curty. is_some ( ) {
385- w. write_str ( "</table>" ) ;
384+ w. write_str ( "</item- table>\n " ) ;
386385 }
387386}
388387
0 commit comments