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

Fix deprecation warnings about SipHasher vs DefaultHasher #87

Merged
merged 1 commit into from
Feb 5, 2017

Conversation

rozbb
Copy link
Collaborator

@rozbb rozbb commented Feb 4, 2017

Currently, building gives the warning messages:

warning: use of deprecated item: use `std::collections::hash_map::DefaultHasher` instead, #[warn(deprecated)] on by default
    --> src/int.rs:4442:30
     |
4442 |             let mut hasher = std::hash::SipHasher::new();
     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item: use `std::collections::hash_map::DefaultHasher` instead, #[warn(deprecated)] on by default
    --> src/int.rs:4442:30
     |
4442 |             let mut hasher = std::hash::SipHasher::new();
     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item: use `std::collections::hash_map::DefaultHasher` instead, #[warn(deprecated)] on by default
    --> src/int.rs:4446:30
     |
4446 |             let mut hasher = std::hash::SipHasher::new();
     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item: use `std::collections::hash_map::DefaultHasher` instead, #[warn(deprecated)] on by default
    --> src/int.rs:4446:30
     |
4446 |             let mut hasher = std::hash::SipHasher::new();
     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^

    Finished release [optimized] target(s) in 94.5 secs
     Running target/release/deps/quickcheck-5d65a93dfbfec02c

@Aatch Aatch merged commit e5d97e0 into Aatch:master Feb 5, 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.

2 participants