Skip to content

Commit 26f2705

Browse files
committed
Remove unused impl Clean<ItemType> for DefKind
1 parent 2df886d commit 26f2705

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/librustdoc/clean/mod.rs

-6
Original file line numberDiff line numberDiff line change
@@ -1029,12 +1029,6 @@ impl Clean<PolyTrait> for hir::PolyTraitRef<'_> {
10291029
}
10301030
}
10311031

1032-
impl Clean<ItemType> for hir::def::DefKind {
1033-
fn clean(&self, _: &mut DocContext<'_>) -> ItemType {
1034-
(*self).into()
1035-
}
1036-
}
1037-
10381032
impl Clean<Item> for hir::TraitItem<'_> {
10391033
fn clean(&self, cx: &mut DocContext<'_>) -> Item {
10401034
let local_did = self.def_id.to_def_id();

0 commit comments

Comments
 (0)