Skip to content

Commit da4bd7e

Browse files
committed
Mark from_iter as inline
1 parent 13e510a commit da4bd7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@ impl<T, N: ArrayLength> FromIterator<T> for GenericArray<T, N> {
479479
/// Will panic if the number of elements is not exactly the array length.
480480
///
481481
/// See [`GenericArray::try_from_iter]` for a fallible alternative.
482+
#[inline]
482483
fn from_iter<I>(iter: I) -> GenericArray<T, N>
483484
where
484485
I: IntoIterator<Item = T>,

0 commit comments

Comments
 (0)