Function std::intrinsics::forgetStable [-] [+] [src]

pub unsafe fn forget<T>(T)

Move a value out of scope without running drop glue.

forget is unsafe because the caller is responsible for ensuring the argument is deallocated already.