diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-12 09:13:47 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-12 09:13:47 +0530 |
| commit | 0a74387b642bfc6ba0c8de723942eafae440bc4a (patch) | |
| tree | 109b0be66b72fa83a755169299dbcbdc3e2b8b97 /src/libstd/rand | |
| parent | 2c251fa84694112890d879cd5fe05d18006f0a0c (diff) | |
| parent | 64ab111b5387e9985df188a970350c9e6c7f1451 (diff) | |
| download | rust-0a74387b642bfc6ba0c8de723942eafae440bc4a.tar.gz rust-0a74387b642bfc6ba0c8de723942eafae440bc4a.zip | |
Rollup merge of #23297 - steveklabnik:examples, r=huonw
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}; |
