diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-03-11 21:11:40 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-03-11 21:11:40 -0400 |
| commit | 64ab111b5387e9985df188a970350c9e6c7f1451 (patch) | |
| tree | b53d97e99191c256cd0bcfd9c510652b454e8477 /src/libstd/rand | |
| parent | f899513a30165946a75ff7f515ab37a226e72172 (diff) | |
| download | rust-64ab111b5387e9985df188a970350c9e6c7f1451.tar.gz rust-64ab111b5387e9985df188a970350c9e6c7f1451.zip | |
Example -> Examples
This brings comments in line with https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#using-markdown
Diffstat (limited to 'src/libstd/rand')
| -rw-r--r-- | src/libstd/rand/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/rand/reader.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rand/mod.rs b/src/libstd/rand/mod.rs index 7382cc6e2eb..e8407ab1115 100644 --- a/src/libstd/rand/mod.rs +++ b/src/libstd/rand/mod.rs @@ -424,7 +424,7 @@ pub fn random<T: Rand>() -> T { /// Randomly sample up to `amount` elements from an iterator. /// -/// # Example +/// # Examples /// /// ```rust /// use std::rand::{thread_rng, sample}; diff --git a/src/libstd/rand/reader.rs b/src/libstd/rand/reader.rs index c56dc387b7f..08c43198aa1 100644 --- a/src/libstd/rand/reader.rs +++ b/src/libstd/rand/reader.rs @@ -22,7 +22,7 @@ use slice::SliceExt; /// /// It will panic if it there is insufficient data to fulfill a request. /// -/// # Example +/// # Examples /// /// ```rust /// use std::rand::{reader, Rng}; |
