1
Fork 0

Improve stability tags display

This commit is contained in:
Guillaume Gomez 2019-02-08 15:09:05 +01:00
parent 43e04fb552
commit 9fa01da50e
3 changed files with 10 additions and 11 deletions

View file

@ -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),