Rename MetaItem::ident to MetaItem::path

This commit is contained in:
Vadim Petrochenkov
2019-03-02 19:15:26 +03:00
parent 6ad55b3dec
commit 63116d313d
16 changed files with 52 additions and 53 deletions

View File

@@ -3713,7 +3713,7 @@ fn item_enum(w: &mut fmt::Formatter<'_>, cx: &Context, it: &clean::Item,
}
fn render_attribute(attr: &ast::MetaItem) -> Option<String> {
let path = attr.ident.to_string();
let path = attr.path.to_string();
if attr.is_word() {
Some(path)