pub unsafe extern "rust-intrinsic" fn forget<T>(T) where T: ?Sized,
Moves a value out of scope without running drop glue.
This exists solely for mem::forget_unsized
; normal forget
uses ManuallyDrop
instead.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/intrinsics/fn.forget.html