Skip to content

A couple cleanup patches to the new Hash framework #12522

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

Merged
merged 4 commits into from
Feb 25, 2014
Merged

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Feb 24, 2014

This patch series does a couple things:

  • replaces manual Hash implementations with #[deriving(Hash)]
  • adds Hash back to std::prelude
  • minor cleanup of whitespace and variable names.

@alexcrichton
Copy link
Member

This all looks fine to me, although I thought it was nice keeping Hash out of the prelude. It's not enabling any methods by default (like some of the vector traits are), so I would think that we may not need it in the prelude?

@erickt
Copy link
Contributor Author

erickt commented Feb 24, 2014

I also had second thoughts about having Hash in prelude. I would be fine leaving it out.

@alexcrichton
Copy link
Member

r=me if it stays out of the prelude, if it remains I'm curious what other opinions are

bors added a commit that referenced this pull request Feb 25, 2014
This patch series does a couple things:

* replaces manual `Hash` implementations with `#[deriving(Hash)]`
* adds `Hash` back to `std::prelude`
* minor cleanup of whitespace and variable names.
@bors bors closed this Feb 25, 2014
@bors bors merged commit 6335a76 into rust-lang:master Feb 25, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 4, 2024
…dnet

Correct version for incompatible_msrv

Unsure what happened here

Probably what caused rust-lang/blog.rust-lang.org#1277

changelog: none
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