Skip to content

Commit c6987c3

Browse files
remove whitespaces
1 parent c18461d commit c6987c3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

library/alloc/src/vec/mod.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -2395,7 +2395,7 @@ impl<T: Clone, A: Allocator> Vec<T, A> {
23952395
/// Appends elements specified by the `src` parameter to the end of the vector.
23962396
/// The `src` parameter is of type [`RangeBounds`], which means that
23972397
/// it can be used to specify a range of elements in the vector.
2398-
///
2398+
///
23992399
/// [`RangeBounds`]: ../../std/ops/trait.RangeBounds.html
24002400
///
24012401
/// # Panics
@@ -2404,7 +2404,7 @@ impl<T: Clone, A: Allocator> Vec<T, A> {
24042404
/// Panics if the end index is greater than the length of the vector.
24052405
///
24062406
/// # Examples
2407-
///
2407+
///
24082408
/// With numbers:
24092409
///
24102410
/// ```
@@ -2420,18 +2420,18 @@ impl<T: Clone, A: Allocator> Vec<T, A> {
24202420
/// numbers3.extend_from_within(1..3);
24212421
/// assert_eq!(numbers3, [0, 1, 2, 3, 4, 1, 2]);
24222422
/// ```
2423-
///
2423+
///
24242424
/// With characters:
2425-
///
2425+
///
24262426
/// ```
24272427
/// let mut characters1 = vec!['a', 'b', 'c', 'd', 'e'];
24282428
/// characters1.extend_from_within(2..);
24292429
/// assert_eq!(characters1, ['a', 'b', 'c', 'd', 'e', 'c', 'd', 'e']);
2430-
///
2430+
///
24312431
/// let mut characters2 = vec!['a', 'b', 'c', 'd', 'e'];
24322432
/// characters2.extend_from_within(..2);
24332433
/// assert_eq!(characters2, ['a', 'b', 'c', 'd', 'e', 'a', 'b']);
2434-
///
2434+
///
24352435
/// let mut characters3 = vec!['a', 'b', 'c', 'd', 'e'];
24362436
/// characters3.extend_from_within(1..3);
24372437
/// assert_eq!(characters3, ['a', 'b', 'c', 'd', 'e', 'b', 'c']);

0 commit comments

Comments
 (0)