Skip to content

Commit 3b9c239

Browse files
authored
Fix trailing whitepsace
1 parent e3250a8 commit 3b9c239

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
@@ -2040,7 +2040,7 @@ impl<T, A: Allocator> Vec<T, A> {
20402040

20412041
/// Inserts an element at position `index` within the vector, shifting all
20422042
/// elements after it to the right.
2043-
///
2043+
///
20442044
/// Returns [`None`] if the specified index is out of bounds.
20452045
///
20462046
/// # Examples
@@ -2051,7 +2051,7 @@ impl<T, A: Allocator> Vec<T, A> {
20512051
/// let x = vec.insert_mut(3, 6).unwrap();
20522052
/// *x += 1;
20532053
/// assert_eq!(vec, [1, 3, 5, 7, 9]);
2054-
///
2054+
///
20552055
/// let y = vec.insert_mut(7, 6);
20562056
/// assert!(y.is_none());
20572057
/// ```

0 commit comments

Comments
 (0)