diff --git a/crates/libs/metadata/src/reader/mod.rs b/crates/libs/metadata/src/reader/mod.rs index 0159f50763..1c43bbce47 100644 --- a/crates/libs/metadata/src/reader/mod.rs +++ b/crates/libs/metadata/src/reader/mod.rs @@ -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? @@ -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),