Skip to content

Commit 54e5eaa

Browse files
authored
Fix doc error (#1758)
Noticed a small typo in the docs.
1 parent 1ce4c08 commit 54e5eaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ where
238238
/// let words: Vec<&str> = "Mary had a little lamb".split(' ').collect();
239239
/// println!("{}", words[rand::random_range(..words.len())]);
240240
/// ```
241-
/// Note that the first example can also be achieved (without `collect`'ing
241+
/// Note that the second example can also be achieved (without `collect`'ing
242242
/// to a `Vec`) using [`seq::IteratorRandom::choose`].
243243
#[cfg(feature = "thread_rng")]
244244
#[inline]

0 commit comments

Comments
 (0)