From 4d3b0a1529f8fb2556d8d4f1f3d819771b2e3740 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 27 Mar 2013 03:03:10 -0400 Subject: [PATCH 1/3] hashmap: improve docstring --- src/libcore/hashmap.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libcore/hashmap.rs b/src/libcore/hashmap.rs index 7d9320b9b0f93..472de88f692b8 100644 --- a/src/libcore/hashmap.rs +++ b/src/libcore/hashmap.rs @@ -8,7 +8,10 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Sendable hash maps. +//! An unordered map and set type implemented as hash tables +//! +//! The tables use a keyed hash with new random keys generated for each container, so the ordering +//! of a set of keys in a hash table is randomized. /// Open addressing with linear probing. pub mod linear { From 9c1bbc586c0ca808ea074e982e159051ae404554 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 27 Mar 2013 03:07:55 -0400 Subject: [PATCH 2/3] ops: add a docstring --- src/libcore/ops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 2f7fe1e4aa8bf..4d17fb2f69640 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// Core operators +//! Traits for the built-in operators #[lang="drop"] pub trait Drop { From 1c6272a2672af51581b22a7084de46951b3cd5e0 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 27 Mar 2013 03:40:15 -0400 Subject: [PATCH 3/3] base64: add docstring --- src/libstd/base64.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstd/base64.rs b/src/libstd/base64.rs index cdc15ae1d45dc..d3452712728b9 100644 --- a/src/libstd/base64.rs +++ b/src/libstd/base64.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +//! Base64 binary-to-text encoding + use core::iter; use core::str; use core::vec;