mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Remove min/max values from IntoValues Iterator implementation
This commit is contained in:
parent
16a5217141
commit
1cdce3919f
@ -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")]
|
||||
|
Loading…
Reference in New Issue
Block a user