diff --git a/src/libcore/hashmap.rs b/src/libcore/hashmap.rs index 2d3eb4de4d4c..0d4119e1a1be 100644 --- a/src/libcore/hashmap.rs +++ b/src/libcore/hashmap.rs @@ -348,6 +348,7 @@ pub mod linear { } pub impl LinearMap { + /// Create an empty LinearMap static fn new() -> LinearMap { linear_map_with_capacity(INITIAL_CAPACITY) }