From f03e55418122c3e6b3a27174147fe23f01394d9e Mon Sep 17 00:00:00 2001 From: numzero Date: Thu, 7 May 2026 21:50:17 +0300 Subject: [PATCH] import Any --- src/ptr.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ptr.rs b/src/ptr.rs index 269b005..55705ff 100644 --- a/src/ptr.rs +++ b/src/ptr.rs @@ -1,4 +1,5 @@ use std::{ + any::Any, marker::PhantomData, mem::ManuallyDrop, ops::{Deref, DerefMut}, @@ -56,7 +57,7 @@ impl OwnRef<'_, T> { } } -impl OwnRef<'_, dyn std::any::Any> { +impl OwnRef<'_, dyn Any> { pub fn take(mut self) -> Result { if !self.is::() { return Err(self);