diff options
| -rw-r--r-- | src/libcore/hashmap.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/hashmap.rs b/src/libcore/hashmap.rs index 2d3eb4de4d4..0d4119e1a1b 100644 --- a/src/libcore/hashmap.rs +++ b/src/libcore/hashmap.rs @@ -348,6 +348,7 @@ pub mod linear { } pub impl<K:Hash IterBytes Eq,V> LinearMap<K,V> { + /// Create an empty LinearMap static fn new() -> LinearMap<K, V> { linear_map_with_capacity(INITIAL_CAPACITY) } |
