diff --git a/src/tinyvec.rs b/src/tinyvec.rs index 5509f4b..54a9ee8 100644 --- a/src/tinyvec.rs +++ b/src/tinyvec.rs @@ -841,14 +841,6 @@ impl TinyVec { } /// Place an element onto the end of the vec. - /// ## Panics - /// * If the length of the vec would overflow the capacity. - /// ```rust - /// use tinyvec::*; - /// let mut tv = tiny_vec!([i32; 10] => 1, 2, 3); - /// tv.push(4); - /// assert_eq!(tv.as_slice(), &[1, 2, 3, 4]); - /// ``` #[inline] pub fn push(&mut self, val: A::Item) { // The code path for moving the inline contents to the heap produces a lot