Skip to content

Seq module doc - #828

Merged
dhardy merged 4 commits into
rust-random:masterfrom
dhardy:doc
Jun 26, 2019
Merged

dhardy merged 4 commits into
rust-random:masterfrom
dhardy:doc

Conversation

@dhardy

@dhardy dhardy commented Jun 20, 2019

Copy link
Copy Markdown
Member

@sicking would you be kind enough to review this?

@dhardy dhardy added the E-easy Participation: easy job label Jun 24, 2019
@dhardy

dhardy commented Jun 24, 2019

Copy link
Copy Markdown
Member Author

Review please anyone?

Comment thread src/distributions/weighted/mod.rs Resolved
Comment thread src/seq/mod.rs Outdated
/// println!("{}", str);
/// }
/// ```
/// Output:

Copy link
Copy Markdown
Contributor

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".

Comment thread src/seq/mod.rs Outdated

/// 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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"repeatition" -> "repetition"

@vks vks left a comment

Copy link
Copy Markdown
Contributor

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
20 of 22 tasks
@sicking

sicking commented Jun 26, 2019

Copy link
Copy Markdown
Contributor

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.
Comment thread rand_chacha/src/chacha.rs Resolved
@dhardy
dhardy merged commit b15e9ec into rust-random:master Jun 26, 2019
@dhardy
dhardy deleted the doc branch June 27, 2019 09:00
benjamin-lieser pushed a commit to benjamin-lieser/rand that referenced this pull request Feb 5, 2025
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