diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-12 19:02:46 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-15 22:27:10 -0700 |
| commit | a84c2999c91f6ea43291006288ea6dd8c4852c3b (patch) | |
| tree | 58ed8bd6c4fcde8731b6439cee3b8740df361015 /src/libstd | |
| parent | 4d2a402555aedd04affc978ef05324df7550fd07 (diff) | |
| download | rust-a84c2999c91f6ea43291006288ea6dd8c4852c3b.tar.gz rust-a84c2999c91f6ea43291006288ea6dd8c4852c3b.zip | |
Require module documentation with missing_doc
Closes #9824
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/at_vec.rs | 2 | ||||
| -rw-r--r-- | src/libstd/fmt/parse.rs | 6 | ||||
| -rw-r--r-- | src/libstd/select.rs | 2 | ||||
| -rw-r--r-- | src/libstd/str.rs | 1 | ||||
| -rw-r--r-- | src/libstd/vec.rs | 1 |
5 files changed, 12 insertions, 0 deletions
diff --git a/src/libstd/at_vec.rs b/src/libstd/at_vec.rs index 93a66f6d917..f6669893170 100644 --- a/src/libstd/at_vec.rs +++ b/src/libstd/at_vec.rs @@ -135,6 +135,7 @@ impl<T> Clone for @[T] { } #[cfg(not(test))] +#[allow(missing_doc)] pub mod traits { use at_vec::append; use clone::Clone; @@ -152,6 +153,7 @@ pub mod traits { #[cfg(test)] pub mod traits {} +#[allow(missing_doc)] pub mod raw { use at_vec::capacity; use cast; diff --git a/src/libstd/fmt/parse.rs b/src/libstd/fmt/parse.rs index a95bd563a81..1b8998b5c6c 100644 --- a/src/libstd/fmt/parse.rs +++ b/src/libstd/fmt/parse.rs @@ -8,6 +8,12 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +//! Parsing of format strings +//! +//! These structures are used when parsing format strings for the compiler. +//! Parsing does not currently happen at runtime (structures of std::fmt::rt are +//! generated instead). + use prelude::*; use char; diff --git a/src/libstd/select.rs b/src/libstd/select.rs index 049b301144b..8ce23f4b53b 100644 --- a/src/libstd/select.rs +++ b/src/libstd/select.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#[allow(missing_doc)]; + use cell::Cell; use comm; use container::Container; diff --git a/src/libstd/str.rs b/src/libstd/str.rs index 88497bdaa82..decfbb0785c 100644 --- a/src/libstd/str.rs +++ b/src/libstd/str.rs @@ -1253,6 +1253,7 @@ Section: Trait implementations */ #[cfg(not(test))] +#[allow(missing_doc)] pub mod traits { use ops::Add; use cmp::{TotalOrd, Ordering, Less, Equal, Greater, Eq, Ord, Equiv, TotalEq}; diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 77e38b48067..f31dbfec78a 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -603,6 +603,7 @@ impl<'self, T> RandomAccessIterator<&'self [T]> for ChunkIter<'self, T> { // Equality #[cfg(not(test))] +#[allow(missing_doc)] pub mod traits { use super::*; |
