Skip to content

Commit af43415

Browse files
committed
Fix duplicate word.
1 parent f983a52 commit af43415

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/alloc/src/vec/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3030,8 +3030,8 @@ impl<T: Clone, A: Allocator> Vec<T, A> {
30303030
///
30313031
/// # Panics if:
30323032
///
3033-
/// - Panics if the starting index is greater than the end index.
3034-
/// - Panics if the end index is greater than the length of the vector.
3033+
/// - The starting index is greater than the end index.
3034+
/// - The end index is greater than the length of the vector.
30353035
///
30363036
/// # Examples
30373037
///

0 commit comments

Comments
 (0)