Remove unused impl Clean<ItemType> for DefKind

This commit is contained in:
Joshua Nelson 2021-04-22 21:37:22 -04:00
parent 0a9b2cae5d
commit 8fd29bf6a1

View File

@ -914,12 +914,6 @@ impl Clean<PolyTrait> for hir::PolyTraitRef<'_> {
} }
} }
impl Clean<ItemType> for hir::def::DefKind {
fn clean(&self, _: &mut DocContext<'_>) -> ItemType {
(*self).into()
}
}
impl Clean<Item> for hir::TraitItem<'_> { impl Clean<Item> for hir::TraitItem<'_> {
fn clean(&self, cx: &mut DocContext<'_>) -> Item { fn clean(&self, cx: &mut DocContext<'_>) -> Item {
let local_did = self.def_id.to_def_id(); let local_did = self.def_id.to_def_id();