Skip to content

Commit

Permalink
Remove repetition in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ureeves committed Jan 29, 2024
1 parent 051dfe3 commit 2f770ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> {
assert!(index < Self::N_LEAVES, "Index out of bounds");

Expand Down

0 comments on commit 2f770ae

Please sign in to comment.