slice::with_capacity() is no more.