Skip to content

Commit 0355700

Browse files
committed
Rollup merge of rust-lang#29568 - steveklabnik:gh24591, r=apasel422
Fixes rust-lang#24591
2 parents f889d27 + e9989d5 commit 0355700

File tree

1 file changed

+3
-0
lines changed
  • src/libstd/collections/hash

1 file changed

+3
-0
lines changed

src/libstd/collections/hash/map.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,9 @@ impl<K, V, S> HashMap<K, V, S>
601601

602602
/// Returns the number of elements the map can hold without reallocating.
603603
///
604+
/// This number is a lower bound; the `HashMap<K, V>` might be able to hold
605+
/// more, but is guaranteed to be able to hold at least this many.
606+
///
604607
/// # Examples
605608
///
606609
/// ```

0 commit comments

Comments
 (0)