rollup merge of #18665 : scribu/patch-1
This commit is contained in:
commit
29b2b58315
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ impl<K: Hash + Eq, V> HashMap<K, V, RandomSipHasher> {
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// use std::collections::HashMap;
|
/// use std::collections::HashMap;
|
||||||
/// let mut map: HashMap<&str, int> = HashMap::with_capacity(10);
|
/// let mut map: HashMap<&str, int> = HashMap::new();
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
#[unstable = "matches collection reform specification, waiting for dust to settle"]
|
#[unstable = "matches collection reform specification, waiting for dust to settle"]
|
||||||
|
|
Loading…
Reference in a new issue