diff --git a/src/lib.rs b/src/lib.rs index d0c1b55..454759e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -87,7 +87,7 @@ pub mod __priv { /// Use type inference to obtain the size of the pointee (without actually using the pointer). #[doc(hidden)] pub fn size_of_pointee(_ptr: *const T) -> usize { - core::mem::size_of::() + mem::size_of::() } }