(&mut self, new_len: usize, new_val: A::Item)
| 776 | /// ``` |
| 777 | #[inline] |
| 778 | pub fn resize(&mut self, new_len: usize, new_val: A::Item) |
| 779 | where |
| 780 | A::Item: Clone, |
| 781 | { |
| 782 | self.resize_with(new_len, || new_val.clone()) |
| 783 | } |
| 784 | |
| 785 | /// Resize the vec to the new length. |
| 786 | /// |
nothing calls this directly
no test coverage detected