We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
impl Clean<ItemType> for DefKind
1 parent 0a9b2ca commit 8fd29bfCopy full SHA for 8fd29bf
1 file changed
src/librustdoc/clean/mod.rs
@@ -914,12 +914,6 @@ impl Clean<PolyTrait> for hir::PolyTraitRef<'_> {
914
}
915
916
917
-impl Clean<ItemType> for hir::def::DefKind {
918
- fn clean(&self, _: &mut DocContext<'_>) -> ItemType {
919
- (*self).into()
920
- }
921
-}
922
-
923
impl Clean<Item> for hir::TraitItem<'_> {
924
fn clean(&self, cx: &mut DocContext<'_>) -> Item {
925
let local_did = self.def_id.to_def_id();
0 commit comments