@@ -863,7 +863,7 @@ impl<K, V, E, T: Traverse<E> + DoubleEndedIterator<TraversalItem<K, V, E>>>
863863 // Note that the design of these iterators permits an *arbitrary* initial pair of min and max,
864864 // making these arbitrary sub-range iterators. However the logic to construct these paths
865865 // efficiently is fairly involved, so this is a FIXME. The sub-range iterators also wouldn't be
866- // able to accurately predict size, so those iterators can't implement ExactSize .
866+ // able to accurately predict size, so those iterators can't implement ExactSizeIterator .
867867 fn next ( & mut self ) -> Option < ( K , V ) > {
868868 loop {
869869 // We want the smallest element, so try to get the top of the left stack
@@ -963,7 +963,7 @@ impl<'a, K, V> Iterator<(&'a K, &'a V)> for Entries<'a, K, V> {
963963impl < ' a , K , V > DoubleEndedIterator < ( & ' a K , & ' a V ) > for Entries < ' a , K , V > {
964964 fn next_back ( & mut self ) -> Option < ( & ' a K , & ' a V ) > { self . inner . next_back ( ) }
965965}
966- impl < ' a , K , V > ExactSize < ( & ' a K , & ' a V ) > for Entries < ' a , K , V > { }
966+ impl < ' a , K , V > ExactSizeIterator < ( & ' a K , & ' a V ) > for Entries < ' a , K , V > { }
967967
968968
969969impl < ' a , K , V > Iterator < ( & ' a K , & ' a mut V ) > for MutEntries < ' a , K , V > {
@@ -973,7 +973,7 @@ impl<'a, K, V> Iterator<(&'a K, &'a mut V)> for MutEntries<'a, K, V> {
973973impl < ' a , K , V > DoubleEndedIterator < ( & ' a K , & ' a mut V ) > for MutEntries < ' a , K , V > {
974974 fn next_back ( & mut self ) -> Option < ( & ' a K , & ' a mut V ) > { self . inner . next_back ( ) }
975975}
976- impl < ' a , K , V > ExactSize < ( & ' a K , & ' a mut V ) > for MutEntries < ' a , K , V > { }
976+ impl < ' a , K , V > ExactSizeIterator < ( & ' a K , & ' a mut V ) > for MutEntries < ' a , K , V > { }
977977
978978
979979impl < K , V > Iterator < ( K , V ) > for MoveEntries < K , V > {
@@ -983,7 +983,7 @@ impl<K, V> Iterator<(K, V)> for MoveEntries<K, V> {
983983impl < K , V > DoubleEndedIterator < ( K , V ) > for MoveEntries < K , V > {
984984 fn next_back ( & mut self ) -> Option < ( K , V ) > { self . inner . next_back ( ) }
985985}
986- impl < K , V > ExactSize < ( K , V ) > for MoveEntries < K , V > { }
986+ impl < K , V > ExactSizeIterator < ( K , V ) > for MoveEntries < K , V > { }
987987
988988
989989
0 commit comments