Skip to content

Commit ba8a195

Browse files
authored
Merge pull request #64 from apasel422/update
Remove extraneous bounds from `IntoIter` impls
2 parents c5dab6e + 59fc267 commit ba8a195

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ impl<'a, K, V> Iterator for IterMut<'a, K, V> {
860860
}
861861
}
862862

863-
impl<K: Hash + Eq, V> Iterator for IntoIter<K, V> {
863+
impl<K, V> Iterator for IntoIter<K, V> {
864864
type Item = (K, V);
865865

866866
fn next(&mut self) -> Option<(K, V)> {
@@ -909,7 +909,7 @@ impl<'a, K, V> DoubleEndedIterator for IterMut<'a, K, V> {
909909
}
910910
}
911911

912-
impl<K: Hash + Eq, V> DoubleEndedIterator for IntoIter<K, V> {
912+
impl<K, V> DoubleEndedIterator for IntoIter<K, V> {
913913
fn next_back(&mut self) -> Option<(K, V)> {
914914
if self.remaining == 0 {
915915
return None

0 commit comments

Comments
 (0)