Skip to content

Don't require &mut ref in WeightedChoice::new#151

Closed
ramn wants to merge 1 commit intorust-random:masterfrom
ramn:dont_take_mut_ref
Closed

Don't require &mut ref in WeightedChoice::new#151
ramn wants to merge 1 commit intorust-random:masterfrom
ramn:dont_take_mut_ref

Conversation

@ramn
Copy link

@ramn ramn commented May 22, 2017

since it makes it really hard to store the WeightedChoice in a struct.

Fixes #142, #90.

Alternative: #152

since it makes it really hard to store the WeightedChoice in a struct.
@ramn
Copy link
Author

ramn commented May 25, 2017

Closing in favor of #152

@ramn ramn closed this May 25, 2017
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.

1 participant