about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2016-06-17 23:48:30 +0100
committerOliver Middleton <olliemail27@gmail.com>2016-06-17 23:50:34 +0100
commitfdeda33a9a7326ac4979aee5b0c9657298aebe59 (patch)
tree3d02449fef2481e299b83895f210c1cccca46842 /src/libstd
parentbb4a79b087158f396b984bdf552d2c90890b12a3 (diff)
downloadrust-fdeda33a9a7326ac4979aee5b0c9657298aebe59.tar.gz
rust-fdeda33a9a7326ac4979aee5b0c9657298aebe59.zip
Add short summaries to btree modules
Also improve hash_map and hash_set module short summaries.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/mod.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/collections/mod.rs b/src/libstd/collections/mod.rs
index 44613d77671..9b13d542300 100644
--- a/src/libstd/collections/mod.rs
+++ b/src/libstd/collections/mod.rs
@@ -429,14 +429,16 @@ mod hash;
 
 #[stable(feature = "rust1", since = "1.0.0")]
 pub mod hash_map {
-    //! A hashmap
+    //! A hash map implementation which uses linear probing with Robin
+    //! Hood bucket stealing.
     #[stable(feature = "rust1", since = "1.0.0")]
     pub use super::hash::map::*;
 }
 
 #[stable(feature = "rust1", since = "1.0.0")]
 pub mod hash_set {
-    //! A hashset
+    //! An implementation of a hash set using the underlying representation of a
+    //! HashMap where the value is ().
     #[stable(feature = "rust1", since = "1.0.0")]
     pub use super::hash::set::*;
 }