Remove all elements in the vector.
(&mut self)
| 181 | |
| 182 | /// Remove all elements in the vector. |
| 183 | pub fn clear(&mut self) { |
| 184 | self.truncate(0) |
| 185 | } |
| 186 | |
| 187 | /// Retains only the elements specified by the predicate. |
| 188 | /// |
no test coverage detected