about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-01-24 13:36:55 -0500
committerDaniel Micay <danielmicay@gmail.com>2013-01-24 13:36:55 -0500
commitdbfe21eddaec165e689b90e86a049ef654d35287 (patch)
tree7e95895bf7e6944efef646aa46db7ec30e5decd1
parentacde90dc1c5d13ccfd24703bddc1e2df4a52ae58 (diff)
downloadrust-dbfe21eddaec165e689b90e86a049ef654d35287.tar.gz
rust-dbfe21eddaec165e689b90e86a049ef654d35287.zip
document LinearMap::new
-rw-r--r--src/libcore/hashmap.rs1
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)
         }