Skip to content

Commit 16a5217

Browse files
committed
Change the comment of BTreeMap::into_values
1 parent 25545ed commit 16a5217

File tree

1 file changed

+1
-1
lines changed
  • library/alloc/src/collections/btree

1 file changed

+1
-1
lines changed

library/alloc/src/collections/btree/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ impl<K: Ord, V> BTreeMap<K, V> {
13411341
IntoKeys { inner: self.into_iter() }
13421342
}
13431343

1344-
/// Creates a consuming iterator visiting all the values, in sorted order.
1344+
/// Creates a consuming iterator visiting all the values, in order by key.
13451345
/// The map cannot be used after calling this.
13461346
/// The iterator element type is `V`.
13471347
///

0 commit comments

Comments
 (0)