从Rust 1.57 开始,此方法不会重新分配或收缩 Vec ,因此泄漏的分配可能包括不属于返回切片 ... array[..]; let slice_of_cells: &[Cell<char>] = Cell::from_mut(slice) ...
確定! 回上一頁