mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
Remove unused impl Clean<ItemType> for DefKind
This commit is contained in:
parent
0a9b2cae5d
commit
8fd29bf6a1
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user