We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f983f67 commit 81fc93eCopy full SHA for 81fc93e
src/concat_impl.rs
@@ -18,5 +18,5 @@ pub fn concat<I>(iterable: I) -> I::Item
18
where I: IntoIterator,
19
I::Item: Extend<<<I as IntoIterator>::Item as IntoIterator>::Item> + IntoIterator + Default
20
{
21
- iterable.into_iter().fold1(|mut a, b| { a.extend(b); a }).unwrap_or_else(|| <_>::default())
+ iterable.into_iter().fold1(|mut a, b| { a.extend(b); a }).unwrap_or_else(<_>::default)
22
}
0 commit comments