Skip to content

Commit

Permalink
#18 less of a Clone
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Apr 24, 2023
1 parent f82eee4 commit a965ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iterators.rs
Expand Up @@ -55,7 +55,7 @@ impl<'a, K: Clone, V: Clone, const N: usize> Iterator for IntoIter<'a, K, V, N>
}
}

impl<'a, K: Copy + PartialEq, V: Clone + Copy, const N: usize> IntoIterator for &'a Map<K, V, N> {
impl<'a, K: Copy + PartialEq, V: Copy, const N: usize> IntoIterator for &'a Map<K, V, N> {
type Item = (K, V);
type IntoIter = IntoIter<'a, K, V, N>;

Expand Down

0 comments on commit a965ea0

Please sign in to comment.