Skip to content

Conversation

@luqmana
Copy link
Contributor

@luqmana luqmana commented Jun 20, 2013

Fixes #5792

bors added a commit that referenced this pull request Jun 23, 2013
@bors bors closed this Jun 23, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 3, 2021
…shearth

Some SpanlessHash improvements

changelog: none

* Use `mem::discriminant().hash()` instead of `stable_hash` for simple enums and then use `FxHasher` instead of `StableHasher`. We don't use any StableHash features.
* Use `UnHashMap` for maps keyed by spanless hash values.
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.

enum struct variants can mask regular struct constructors

3 participants