-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seq module doc #828
Seq module doc #828
Conversation
Review please anyone? |
src/seq/mod.rs
Outdated
/// println!("{}", str); | ||
/// } | ||
/// ``` | ||
/// Output: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rather call this "Possible output".
src/seq/mod.rs
Outdated
fn choose_mut<R>(&mut self, rng: &mut R) -> Option<&mut Self::Item> | ||
where R: Rng + ?Sized; | ||
|
||
/// Produces an iterator that chooses `amount` elements from the slice at | ||
/// random without repeating any, and returns them in random order. | ||
/// Chooses `amount` elements from the slice at random, without repeatition, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"repeatition" -> "repetition"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, besides the typo!
Hey, sorry, I don't think I'd be an appropriate reviewer any more since I've paged most of this out of my head and don't really have time to read up on it again. |
Note: macro arg substitution does not appear to work within documentation. Since the methods are on the same page, these links are not important.
@sicking would you be kind enough to review this?