Improve stability tags display
This commit is contained in:
parent
43e04fb552
commit
9fa01da50e
3 changed files with 10 additions and 11 deletions
|
@ -2775,8 +2775,7 @@ fn item_module(w: &mut fmt::Formatter, cx: &Context,
|
|||
<tr class='{stab}{add}module-item'>\
|
||||
<td><a class=\"{class}\" href=\"{href}\" \
|
||||
title='{title}'>{name}</a>{unsafety_flag}</td>\
|
||||
<td class='docblock-short'>{stab_tags}{docs}\
|
||||
</td>\
|
||||
<td class='docblock-short'>{stab_tags}{docs}</td>\
|
||||
</tr>",
|
||||
name = *myitem.name.as_ref().unwrap(),
|
||||
stab_tags = stability_tags(myitem),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue