Skip to content

Commit 8350525

Browse files
emiliombrubeck
authored andcommitted
Remove trailing whitespace.
I noticed this when importing smallvec into Gecko.
1 parent 4f9cd3b commit 8350525

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/lib.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ impl<'a, T: 'a + Array> Drop for Drain<'a, T> {
430430
/// An iterator which uses a closure to determine if an element should be removed.
431431
///
432432
/// Returned from [`SmallVec::drain_filter`][1].
433-
///
433+
///
434434
/// [1]: struct.SmallVec.html#method.drain_filter
435435
pub struct DrainFilter<'a, T, F>
436436
where
@@ -1055,13 +1055,12 @@ impl<A: Array> SmallVec<A> {
10551055
}
10561056
}
10571057

1058-
10591058
#[cfg(feature = "drain_filter")]
10601059
/// Creates an iterator which uses a closure to determine if an element should be removed.
1061-
///
1060+
///
10621061
/// If the closure returns true, the element is removed and yielded. If the closure returns
10631062
/// false, the element will remain in the vector and will not be yielded by the iterator.
1064-
///
1063+
///
10651064
/// Using this method is equivalent to the following code:
10661065
/// ```
10671066
/// # use smallvec::SmallVec;
@@ -1076,7 +1075,7 @@ impl<A: Array> SmallVec<A> {
10761075
/// i += 1;
10771076
/// }
10781077
/// }
1079-
///
1078+
///
10801079
/// # assert_eq!(vec, SmallVec::<[i32; 8]>::from_slice(&[1i32, 4, 5]));
10811080
/// ```
10821081
/// ///

0 commit comments

Comments
 (0)