//! Common memory reclaimers.
//!
//! The functions in this module can be passed to
//! [`retire`](crate::Collector::retire) to free allocated memory or run drop
//! glue. See [the guide](crate#custom-reclaimers) for details about memory
//! reclamation, and writing custom reclaimers.
use ptr;
use crateCollector;
/// Reclaims memory allocated with [`Box`].
///
/// # Safety
///
/// The safety requirements of [`Box::from_raw`] apply.
pub unsafe
/// Reclaims memory by dropping the value in place.
///
/// # Safety
///
/// The safety requirements of [`ptr::drop_in_place`] apply.
pub unsafe