1
Fork 0

use span instead of div for since version

This commit is contained in:
Andy Russell 2019-05-03 12:55:31 -04:00
parent ef9a876f82
commit 8fc6e420d1
No known key found for this signature in database
GPG key ID: BE2221033EDBC374
3 changed files with 4 additions and 5 deletions

View file

@ -3410,7 +3410,7 @@ fn render_stability_since_raw<'a, T: fmt::Write>(
) -> fmt::Result {
if let Some(v) = ver {
if containing_ver != ver && v.len() > 0 {
write!(w, "<div class='since' title='Stable since Rust version {0}'>{0}</div>", v)?
write!(w, "<span class='since' title='Stable since Rust version {0}'>{0}</span>", v)?
}
}
Ok(())