Skip to content

Commit 59fc267

Browse files
committed
Remove extraneous bounds from IntoIter impls
1 parent c5dab6e commit 59fc267

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)