diff options
Diffstat (limited to 'src/concat_impl.rs')
-rw-r--r-- | src/concat_impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/concat_impl.rs b/src/concat_impl.rs index 6048d18..0233d01 100644 --- a/src/concat_impl.rs +++ b/src/concat_impl.rs @@ -18,5 +18,5 @@ pub fn concat<I>(iterable: I) -> I::Item where I: IntoIterator, I::Item: Extend<<<I as IntoIterator>::Item as IntoIterator>::Item> + IntoIterator + Default { - 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) } |