(&mut self, val: A::Item)
| 692 | /// ``` |
| 693 | #[inline(always)] |
| 694 | pub fn push(&mut self, val: A::Item) { |
| 695 | let x = self.try_push(val); |
| 696 | assert!(x.is_none(), "ArrayVec::push> capacity overflow!"); |
| 697 | } |
| 698 | |
| 699 | /// Tries to place an element onto the end of the vec.\ |
| 700 | /// Returns back the element if the capacity is exhausted, |
no test coverage detected