From 2f770ae0524389d43188622c44ae5b65b5763a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Leegwater=20Sim=C3=B5es?= Date: Mon, 29 Jan 2024 15:20:29 +0100 Subject: [PATCH] Remove repetition in docs --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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");