提交 8d8a88f4 编写于 作者: B bors 提交者: GitHub

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
......@@ -105,12 +105,14 @@
#[stable(feature = "rust1", since = "1.0.0")]
pub mod btree_map {
//! A map based on a B-Tree.
#[stable(feature = "rust1", since = "1.0.0")]
pub use btree::map::*;
}
#[stable(feature = "rust1", since = "1.0.0")]
pub mod btree_set {
//! A set based on a B-Tree.
#[stable(feature = "rust1", since = "1.0.0")]
pub use btree::set::*;
}
......
......@@ -429,14 +429,16 @@
#[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::*;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册