Remove min/max values from IntoValues Iterator implementation

This commit is contained in:
Nazım Can Altınova 2020-08-08 15:39:26 +02:00
parent 16a5217141
commit 1cdce3919f
No known key found for this signature in database
GPG key ID: 722E786F0729647A

View file

@ -1910,14 +1910,6 @@ impl<K, V> Iterator for IntoValues<K, V> {
fn last(mut self) -> Option<V> {
self.next_back()
}
fn min(mut self) -> Option<V> {
self.next()
}
fn max(mut self) -> Option<V> {
self.next_back()
}
}
#[unstable(feature = "map_into_keys_values", issue = "55214")]