Generate a <div> instead of a <span> for item-info elements
This commit is contained in:
parent
2ed6786404
commit
a404523fbd
1 changed files with 1 additions and 1 deletions
|
@ -1772,7 +1772,7 @@ pub(crate) fn render_impl_summary(
|
|||
let is_trait = i.inner_impl().trait_.is_some();
|
||||
if is_trait {
|
||||
if let Some(portability) = portability(&i.impl_item, Some(parent)) {
|
||||
write!(w, "<span class=\"item-info\">{}</span>", portability);
|
||||
write!(w, "<div class=\"item-info\">{}</div>", portability);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue