[][src]Function core::mem::forget_unsized

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

Like forget, but also accepts unsized values.

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