1
Fork 0

make it compile again

This commit is contained in:
flip1995 2018-04-17 15:33:39 +02:00
parent 24a6284fcd
commit 121abd0599
No known key found for this signature in database
GPG key ID: 6757AB26F72F0084
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))