summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-06-19 12:56:13 -0700
committerGitHub <noreply@github.com>2016-06-19 12:56:13 -0700
commit8d8a88f4a5bac0038a621bfb195db13d9ae00cb8 (patch)
tree4434503048bae7db425326c6cb427ff835b5d447 /src/libstd
parentd06f1dcd7d3b9d9d5e0dc32ea7207a07e3408200 (diff)
parentfdeda33a9a7326ac4979aee5b0c9657298aebe59 (diff)
downloadrust-8d8a88f4a5bac0038a621bfb195db13d9ae00cb8.tar.gz
rust-8d8a88f4a5bac0038a621bfb195db13d9ae00cb8.zip
Auto merge of #34335 - ollie27:docs_collections_mods, r=GuillaumeGomez
Add short summaries to btree modules

Also improve hash_map and hash_set module short summaries.

These are missing from [here](https://doc.rust-lang.org/nightly/std/collections/#modules).

r? @steveklabnik
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::*;
 }