diff --git a/src/lib.rs b/src/lib.rs index 2f76bb8..22036a5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -103,8 +103,8 @@ where /// element occupying the position, if any. /// /// # Panics - /// Panics if `index >= capacity`, or the underlying allocator fails if it - /// is the first insertion. + /// If `index >= capacity`, or the underlying allocator fails if it is the + /// first insertion. pub fn insert(&mut self, index: usize, leaf: T) -> Option { assert!(index < Self::N_LEAVES, "Index out of bounds");