Change the comment of BTreeMap::into_values

This commit is contained in:
Nazım Can Altınova 2020-08-07 14:10:12 +02:00
parent 25545ed180
commit 16a5217141
No known key found for this signature in database
GPG Key ID: 722E786F0729647A

View File

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