Skip to content

Conversation

pitdicker
Copy link
Contributor

Rebased #502 for 0.6.

I want to make another PR to make the changes to JitterRng we discussed before. But this is just a basic fix to not get warnings, with no change in functionality (except using a clearly wrong timer in timer_stats). Still not sure why it suddenly started generating some warnings though.

use std::io::Read;

#[derive(Clone, Debug)]
#[deprecated(since="0.5.2",
Copy link
Member

Choose a reason for hiding this comment

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

The since bit is now wrong, sorry.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Someday I'll learn that doing things quickly always causes mistakes...

@dhardy dhardy merged commit fc9d82e into rust-random:master Jun 13, 2018
@pitdicker pitdicker deleted the deprecation_warnings_0.6 branch June 13, 2018 15:52
benjamin-lieser pushed a commit to benjamin-lieser/rand that referenced this pull request Feb 5, 2025
…s_0.6

Use newtypes to get deprecation warnings for compatibility re-exports in 0.6
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