about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNazım Can Altınova <canaltinova@gmail.com>2020-08-07 14:10:12 +0200
committerNazım Can Altınova <canaltinova@gmail.com>2020-08-07 14:10:12 +0200
commit16a52171414d94f45e32b4cd7e2698329c330dab (patch)
tree03e5eb67508c7a846ae28deed4ac992ae192d1e2
parent25545ed18058ca09d98fad50a5405f2ad6c0ec5b (diff)
downloadrust-16a52171414d94f45e32b4cd7e2698329c330dab.tar.gz
rust-16a52171414d94f45e32b4cd7e2698329c330dab.zip
Change the comment of BTreeMap::into_values
-rw-r--r--library/alloc/src/collections/btree/map.rs2
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`.
     ///