Function no_std_compat::mem::forget_unsized

source ·
pub fn forget_unsized<T>(t: T)
where T: ?Sized,
🔬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.