Revert "Add Archetype TypeInfo::type_name accessor (#980)" (#982)

This reverts commit 4833c2a7f4.
This commit is contained in:
Carter Anderson 2020-12-02 12:58:39 -08:00 committed by GitHub
parent ccb31bc949
commit 5a77339df0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -519,12 +519,6 @@ impl TypeInfo {
pub(crate) unsafe fn drop(&self, data: *mut u8) {
(self.drop)(data)
}
#[allow(missing_docs)]
#[inline]
pub fn type_name(&self) -> &'static str {
self.type_name
}
}
impl PartialOrd for TypeInfo {