@@ -329,7 +329,7 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
329329 "<item-left class=\" {stab}{add}import-item\" >\
330330 <code>{vis}{imp}</code>\
331331 </item-left>\
332- <item-right class=\" docblock-short\" >{stab_tags}</item-right>\n ",
332+ <item-right class=\" docblock-short\" >{stab_tags}</item-right>",
333333 stab = stab. unwrap_or_default( ) ,
334334 add = add,
335335 vis = myitem. visibility. print_with_space( myitem. def_id, cx) ,
@@ -361,7 +361,7 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
361361 "<item-left class=\" {stab}{add}module-item\" >\
362362 <a class=\" {class}\" href=\" {href}\" \
363363 title=\" {title}\" >{name}</a>{unsafety_flag}</item-left>\
364- <item-right class=\" docblock-short\" >{stab_tags}{docs}</item-right>\n ",
364+ <item-right class=\" docblock-short\" >{stab_tags}{docs}</item-right>",
365365 name = * myitem. name. as_ref( ) . unwrap( ) ,
366366 stab_tags = extra_info_tags( myitem, item, cx. tcx( ) ) ,
367367 docs = MarkdownSummaryLine ( & doc_value, & myitem. links( cx) ) . into_string( ) ,
@@ -381,7 +381,7 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
381381 }
382382
383383 if curty. is_some ( ) {
384- w. write_str ( "</item-table>\n " ) ;
384+ w. write_str ( "</item-table>" ) ;
385385 }
386386}
387387
0 commit comments