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`. ///