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

Clarify reservoir sampling docs #141

Merged
merged 1 commit into from
Mar 11, 2017

Conversation

matklad
Copy link
Contributor

@matklad matklad commented Mar 11, 2017

For example, sample(r, b"ACGT", 4) always returns [b'A', b'C', b'G', b'T'].

For example, `sample(r, b"ATGC", 4)` always returns `[b'A', b'T', b'G', b'C']`.
@alexcrichton alexcrichton merged commit a0de9bf into rust-random:master Mar 11, 2017
pitdicker pushed a commit to pitdicker/rand that referenced this pull request Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants