Skip to content

Commit

Permalink
Attempt to avoid an extra copy in debug
Browse files Browse the repository at this point in the history
  • Loading branch information
novacrazy committed Aug 8, 2020
1 parent a9221ba commit e3c8f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ impl<T: Default, N> Default for GenericArray<T, N>
where
N: ArrayLength<T>,
{
#[inline]
#[inline(always)]
fn default() -> Self {
Self::generate(|_| T::default())
}
Expand Down

0 comments on commit e3c8f81

Please sign in to comment.