Skip to content
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

Merged
merged 4 commits into from
Jun 26, 2019
Merged

Seq module doc #828

merged 4 commits into from
Jun 26, 2019

Conversation

dhardy
Copy link
Member

@dhardy dhardy commented Jun 20, 2019

@sicking would you be kind enough to review this?

@dhardy dhardy added the E-easy Participation: easy job label Jun 24, 2019
@dhardy
Copy link
Member Author

dhardy commented Jun 24, 2019

Review please anyone?

src/seq/mod.rs Outdated
/// println!("{}", str);
/// }
/// ```
/// Output:
Copy link
Collaborator

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,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"repeatition" -> "repetition"

Copy link
Collaborator

@vks vks left a 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!

@vks vks mentioned this pull request Jun 25, 2019
22 tasks
@sicking
Copy link
Contributor

sicking commented Jun 26, 2019

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.

dhardy added 2 commits June 26, 2019 16:04
Note: macro arg substitution does not appear to work within
documentation. Since the methods are on the same page,
these links are not important.
@dhardy dhardy merged commit b15e9ec into rust-random:master Jun 26, 2019
@dhardy dhardy deleted the doc branch June 27, 2019 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Participation: easy job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants