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

Add FnvHashMap and FnvHashSet type aliases #12

Merged
merged 2 commits into from Sep 17, 2016

Conversation

cuviper
Copy link
Contributor

@cuviper cuviper commented Sep 16, 2016

This is a much easier way to use FNV in the standard collections.


This change is Reviewable

This is a much easier way to use FNV in the standard collections.
@cuviper
Copy link
Contributor Author

cuviper commented Sep 16, 2016

Note, the addition itself is trivial - -the bulk of the line changes are in related doc updates.

@cuviper
Copy link
Contributor Author

cuviper commented Sep 16, 2016

FWIW, rustc's fnv also provides these type aliases, although I didn't copy from there. But that should be clear evidence that this is a useful thing to have. They also provide transparent type constructors, which probably is something I should steal for here.

@emilio
Copy link
Member

emilio commented Sep 16, 2016

Looks good to me, thanks!

Can you also bump the Cargo.toml version?

Thanks again!

@cuviper
Copy link
Contributor Author

cuviper commented Sep 17, 2016

Sure, there's the bump!

@emilio
Copy link
Member

emilio commented Sep 17, 2016

@bors-servo: r+

Thanks!

@bors-servo
Copy link
Contributor

📌 Commit fd28754 has been approved by emilio

@bors-servo
Copy link
Contributor

⚡ Test exempted - status

@bors-servo bors-servo merged commit fd28754 into servo:master Sep 17, 2016
bors-servo pushed a commit that referenced this pull request Sep 17, 2016
Add FnvHashMap and FnvHashSet type aliases

This is a much easier way to use FNV in the standard collections.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-fnv/12)
<!-- Reviewable:end -->
@emilio
Copy link
Member

emilio commented Sep 19, 2016

(Published, btw, sorry for the delay in doing it)

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.

None yet

3 participants