make it compile again

This commit is contained in:
flip1995
2018-04-17 15:33:39 +02:00
parent 24a6284fcd
commit 121abd0599
20 changed files with 92 additions and 94 deletions

View File

@@ -3284,7 +3284,7 @@ fn item_enum(w: &mut fmt::Formatter, cx: &Context, it: &clean::Item,
}
fn render_attribute(attr: &ast::MetaItem) -> Option<String> {
let name = attr.ident.name;
let name = attr.name();
if attr.is_word() {
Some(format!("{}", name))