Skip to content

Commit 1da8659

Browse files
committed
Remove unused impl of GetDefId for Typedef
1 parent b987fd7 commit 1da8659

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/librustdoc/clean/types.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,16 +2092,6 @@ crate struct Typedef {
20922092
crate item_type: Option<Type>,
20932093
}
20942094

2095-
impl GetDefId for Typedef {
2096-
fn def_id(&self) -> Option<DefId> {
2097-
self.type_.def_id()
2098-
}
2099-
2100-
fn def_id_full(&self, cache: &Cache) -> Option<DefId> {
2101-
self.type_.def_id_full(cache)
2102-
}
2103-
}
2104-
21052095
#[derive(Clone, Debug)]
21062096
crate struct OpaqueTy {
21072097
crate bounds: Vec<GenericBound>,

0 commit comments

Comments
 (0)