diff options
| author | Nazım Can Altınova <canaltinova@gmail.com> | 2020-08-07 14:10:12 +0200 |
|---|---|---|
| committer | Nazım Can Altınova <canaltinova@gmail.com> | 2020-08-07 14:10:12 +0200 |
| commit | 16a52171414d94f45e32b4cd7e2698329c330dab (patch) | |
| tree | 03e5eb67508c7a846ae28deed4ac992ae192d1e2 | |
| parent | 25545ed18058ca09d98fad50a5405f2ad6c0ec5b (diff) | |
| download | rust-16a52171414d94f45e32b4cd7e2698329c330dab.tar.gz rust-16a52171414d94f45e32b4cd7e2698329c330dab.zip | |
Change the comment of BTreeMap::into_values
| -rw-r--r-- | library/alloc/src/collections/btree/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/btree/map.rs b/library/alloc/src/collections/btree/map.rs index 3e7433dfbcf..5814fb8e40d 100644 --- a/library/alloc/src/collections/btree/map.rs +++ b/library/alloc/src/collections/btree/map.rs @@ -1341,7 +1341,7 @@ impl<K: Ord, V> BTreeMap<K, V> { IntoKeys { inner: self.into_iter() } } - /// Creates a consuming iterator visiting all the values, in sorted order. + /// Creates a consuming iterator visiting all the values, in order by key. /// The map cannot be used after calling this. /// The iterator element type is `V`. /// |
