Skip to content

Make new_with_timer accept a closure without allocation - #9

Merged
vks merged 5 commits into
rust-random:masterfrom
vks:new-with-timer-less-cumbersome
Sep 7, 2020
Merged

vks merged 5 commits into
rust-random:masterfrom
vks:new-with-timer-less-cumbersome

Conversation

@vks

@vks vks commented Sep 4, 2020

Copy link
Copy Markdown
Contributor

Replaces and fixes #5.

This only implements Clone if the closure does, but this is not a regression to before.

This is still a minor breaking change, because JitterRng is now generic.

@vks
vks requested a review from dhardy September 4, 2020 17:00

@dhardy dhardy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems okay. Since this crate hardly ever gets touched can you bump the version and changelog now?

@vks

vks commented Sep 6, 2020

Copy link
Copy Markdown
Contributor Author

Since this crate hardly ever gets touched can you bump the version and changelog now?

Done.

@vks

vks commented Sep 6, 2020

Copy link
Copy Markdown
Contributor Author

Not sure why rand_isaac doesn't build with minimal versions anymore, I did not touch it.

@vks
vks merged commit fab64a4 into rust-random:master Sep 7, 2020
@vks
vks deleted the new-with-timer-less-cumbersome branch September 7, 2020 15:56
@vks

vks commented Sep 7, 2020

Copy link
Copy Markdown
Contributor Author

This was published with rand_jitter 0.3.

This was referenced Dec 14, 2020
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.

3 participants