Skip to content

Commit a404523

Browse files
Generate a <div> instead of a <span> for item-info elements
1 parent 2ed6786 commit a404523

File tree

1 file changed

+1
-1
lines changed
  • src/librustdoc/html/render

1 file changed

+1
-1
lines changed

src/librustdoc/html/render/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1772,7 +1772,7 @@ pub(crate) fn render_impl_summary(
17721772
let is_trait = i.inner_impl().trait_.is_some();
17731773
if is_trait {
17741774
if let Some(portability) = portability(&i.impl_item, Some(parent)) {
1775-
write!(w, "<span class=\"item-info\">{}</span>", portability);
1775+
write!(w, "<div class=\"item-info\">{}</div>", portability);
17761776
}
17771777
}
17781778

0 commit comments

Comments
 (0)