Function std::mem::forget_unsized [−][src]
pub fn forget_unsized<T>(t: T) where
T: ?Sized,
🔬 This is a nightly-only experimental API. (
forget_unsized
)Expand description
与 forget
一样,但也接受未定义大小的值。
该函数只是 unsized_locals
功能稳定后要删除的垫片。