We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c14772 commit 3cd604dCopy full SHA for 3cd604d
src/lib.rs
@@ -112,7 +112,6 @@ pub unsafe fn free<T>(pointer: *mut T) {
112
#[inline]
113
#[allow(clippy::not_unsafe_ptr_arg_deref)]
114
pub unsafe fn own_back<T>(pointer: *mut T) -> Result<T, PointerError> {
115
- #[cfg(all(feature = "std", feature = "lender"))]
116
validate_pointer(pointer)?;
117
let boxed = { Box::from_raw(pointer) };
118
#[cfg(all(feature = "std", feature = "lender"))]
0 commit comments