diff options
| author | Nazım Can Altınova <canaltinova@gmail.com> | 2020-08-08 15:39:26 +0200 |
|---|---|---|
| committer | Nazım Can Altınova <canaltinova@gmail.com> | 2020-08-08 15:51:22 +0200 |
| commit | 1cdce3919fe838ad7718b4cc7ca7b62300e8575b (patch) | |
| tree | f0073668a963db3510217ec146ee4a31e3ba0b41 | |
| parent | 16a52171414d94f45e32b4cd7e2698329c330dab (diff) | |
| download | rust-1cdce3919fe838ad7718b4cc7ca7b62300e8575b.tar.gz rust-1cdce3919fe838ad7718b4cc7ca7b62300e8575b.zip | |
Remove min/max values from IntoValues Iterator implementation
| -rw-r--r-- | library/alloc/src/collections/btree/map.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/library/alloc/src/collections/btree/map.rs b/library/alloc/src/collections/btree/map.rs index 5814fb8e40d..1e09db6cc39 100644 --- a/library/alloc/src/collections/btree/map.rs +++ b/library/alloc/src/collections/btree/map.rs @@ -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")] |
