From 16a52171414d94f45e32b4cd7e2698329c330dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Fri, 7 Aug 2020 14:10:12 +0200 Subject: [PATCH] Change the comment of BTreeMap::into_values --- library/alloc/src/collections/btree/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 BTreeMap { 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`. ///