about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorIvan Petkov <ivanppetkov@gmail.com>2015-02-23 11:05:55 -0800
committerIvan Petkov <ivanppetkov@gmail.com>2015-02-23 11:05:55 -0800
commitdab394c2db5d62dce64ac13af35bb2f18357c9d8 (patch)
tree0016c8846ff75133c0b48da5c39191b10d714f37 /src/libstd
parentf0f7ca27de6b4e03f30012656dad270cda55a363 (diff)
downloadrust-dab394c2db5d62dce64ac13af35bb2f18357c9d8.tar.gz
rust-dab394c2db5d62dce64ac13af35bb2f18357c9d8.zip
Add documentation to associated types in libcore, libstd
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/ascii.rs1
-rw-r--r--src/libstd/collections/hash/state.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/ascii.rs b/src/libstd/ascii.rs
index 4d38d17576d..94457a5d714 100644
--- a/src/libstd/ascii.rs
+++ b/src/libstd/ascii.rs
@@ -37,6 +37,7 @@ pub trait OwnedAsciiExt {
 /// Extension methods for ASCII-subset only operations on string slices
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait AsciiExt {
+    /// Container type for copied ASCII characters.
     #[stable(feature = "rust1", since = "1.0.0")]
     type Owned;
 
diff --git a/src/libstd/collections/hash/state.rs b/src/libstd/collections/hash/state.rs
index 7e6dd45b51e..3a06d2d03bf 100644
--- a/src/libstd/collections/hash/state.rs
+++ b/src/libstd/collections/hash/state.rs
@@ -27,6 +27,7 @@ use marker;
 /// to `Default` when asked to create a hasher.
 #[unstable(feature = "std_misc", reason = "hasher stuff is unclear")]
 pub trait HashState {
+    /// Type of the hasher that will be created.
     type Hasher: hash::Hasher;
 
     /// Creates a new hasher based on the given state of this object.