Skip to content

Commit 8fd29bf

Browse files
committedApr 23, 2021
Remove unused impl Clean<ItemType> for DefKind
·
1.88.01.53.0
1 parent 0a9b2ca commit 8fd29bf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎src/librustdoc/clean/mod.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -914,12 +914,6 @@ impl Clean<PolyTrait> for hir::PolyTraitRef<'_> {
914914
}
915915
}
916916

917-
impl Clean<ItemType> for hir::def::DefKind {
918-
fn clean(&self, _: &mut DocContext<'_>) -> ItemType {
919-
(*self).into()
920-
}
921-
}
922-
923917
impl Clean<Item> for hir::TraitItem<'_> {
924918
fn clean(&self, cx: &mut DocContext<'_>) -> Item {
925919
let local_did = self.def_id.to_def_id();

0 commit comments

Comments
 (0)
Please sign in to comment.