Remove min/max values from IntoValues Iterator implementation
This commit is contained in:
parent
16a5217141
commit
1cdce3919f
1 changed files with 0 additions and 8 deletions
|
@ -1910,14 +1910,6 @@ impl<K, V> Iterator for IntoValues<K, V> {
|
||||||
fn last(mut self) -> Option<V> {
|
fn last(mut self) -> Option<V> {
|
||||||
self.next_back()
|
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")]
|
#[unstable(feature = "map_into_keys_values", issue = "55214")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue