Remove unused field in ItemKind::KeywordItem
This commit is contained in:
parent
d60d88fe5c
commit
8e150816c2
10 changed files with 14 additions and 15 deletions
|
@ -69,7 +69,7 @@ pub(crate) fn krate(cx: &mut DocContext<'_>) -> Crate {
|
|||
)
|
||||
}));
|
||||
m.items.extend(keywords.into_iter().map(|(def_id, kw)| {
|
||||
Item::from_def_id_and_parts(def_id, Some(kw), ItemKind::KeywordItem(kw), cx)
|
||||
Item::from_def_id_and_parts(def_id, Some(kw), ItemKind::KeywordItem, cx)
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue