about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-24 07:15:03 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-24 12:08:35 +0530
commitcf2c14f81b601c7435b5303aeb0d8bb87fd5185f (patch)
tree7de684041447e9f7bd033458f06c41da35346803 /src/libstd
parent9b7c749e7dbcbfcb3e6c3d6b611d6d5093703d8e (diff)
parent2e9521c126214255c8d7a78db4daf431bb5d6320 (diff)
downloadrust-cf2c14f81b601c7435b5303aeb0d8bb87fd5185f.tar.gz
rust-cf2c14f81b601c7435b5303aeb0d8bb87fd5185f.zip
Rollup merge of #22730 - ipetkov:lint-docs, r=alexcrichton
 This is a breaking change if missing docs are forbidden in any module or crate.

I had to add documentation to undocumented associated types in libstd and libcore, please let me know if the documentation is inadequate anywhere!

Fixes #20648
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.