diff --git a/helper_crates/vtable/src/lib.rs b/helper_crates/vtable/src/lib.rs index 773c79356..a5aff50eb 100644 --- a/helper_crates/vtable/src/lib.rs +++ b/helper_crates/vtable/src/lib.rs @@ -264,12 +264,6 @@ impl<'a, T: ?Sized + VTableMeta> VRef<'a, T> { } } - /// Returns a raw pointer to the VRef's instance. This is primarily useful for comparisons. - /// The caller must ensure that the VRef outlives the pointer returned. - pub fn as_ptr(&self) -> *const u8 { - self.inner.ptr - } - unsafe fn from_inner(inner: Inner) -> Self { Self { inner, phantom: PhantomData } }