Function core::mem::forget_unsized

source ·
pub fn forget_unsized<T: ?Sized>(t: T)
🔬This is a nightly-only experimental API. (forget_unsized)
Expand description

Like forget, but also accepts unsized values.

This function is just a shim intended to be removed when the unsized_locals feature gets stabilized.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.