File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1566,7 +1566,8 @@ impl<'a> fmt::Display for Item<'a> {
1566
1566
write ! ( fmt, "</span>" ) ?; // in-band
1567
1567
write ! ( fmt, "<span class='out-of-band'>" ) ?;
1568
1568
if let Some ( version) = self . item . stable_since ( ) {
1569
- write ! ( fmt, "<span class='since'>{}</span>" , version) ?;
1569
+ write ! ( fmt, "<span class='since' title='Stable since Rust version {0}'>{0}</span>" ,
1570
+ version) ?;
1570
1571
}
1571
1572
write ! ( fmt,
1572
1573
r##"<span id='render-detail'>
@@ -2136,7 +2137,7 @@ fn render_stability_since_raw<'a>(w: &mut fmt::Formatter,
2136
2137
containing_ver : Option < & ' a str > ) -> fmt:: Result {
2137
2138
if let Some ( v) = ver {
2138
2139
if containing_ver != ver && v. len ( ) > 0 {
2139
- write ! ( w, "<div class=\" since\" >{ }</div>" ,
2140
+ write ! ( w, "<div class=' since' title='Stable since Rust version {0}'>{0 }</div>" ,
2140
2141
v) ?
2141
2142
}
2142
2143
}
You can’t perform that action at this time.
0 commit comments