1
Fork 0

Remove unused field in ItemKind::KeywordItem

This commit is contained in:
Guillaume Gomez 2022-07-21 16:05:17 +02:00
parent d60d88fe5c
commit 8e150816c2
10 changed files with 14 additions and 15 deletions

View file

@ -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)
}));
}