Skip to content

Commit

Permalink
Remove dead code (#1905)
Browse files Browse the repository at this point in the history
  • Loading branch information
rylev authored Jul 13, 2022
1 parent ae27773 commit d734f1d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions crates/libs/metadata/src/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1548,12 +1548,6 @@ impl<'a> Reader<'a> {
_ => false,
}
}
pub fn type_is_primitive_type_def(&self, ty: &Type) -> bool {
match ty {
Type::TypeDef((row, _)) => self.type_def_is_primitive(*row),
_ => false,
}
}
pub fn type_is_callback(&self, ty: &Type) -> bool {
match ty {
// TODO: do we need to know there's a callback behind the pointer?
Expand Down Expand Up @@ -1582,12 +1576,6 @@ impl<'a> Reader<'a> {
_ => false,
}
}
pub fn type_is_handle(&self, ty: &Type) -> bool {
match ty {
Type::TypeDef((row, _)) => self.type_def_is_handle(*row),
_ => false,
}
}
pub fn type_underlying_type(&self, ty: &Type) -> Type {
match ty {
Type::TypeDef((row, _)) => self.type_def_underlying_type(*row),
Expand Down

0 comments on commit d734f1d

Please sign in to comment.