Skip to content

Consistency with HashMap: missing values iterator. #17

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

Closed
eddyb opened this issue Feb 28, 2017 · 1 comment
Closed

Consistency with HashMap: missing values iterator. #17

eddyb opened this issue Feb 28, 2017 · 1 comment
Assignees

Comments

@eddyb
Copy link

eddyb commented Feb 28, 2017

I'm trying to use ordermap to fix the non-determinism in rustbuild in a useful (order-preserving) way, and I had to replace .values() with .iter().map(|(_, r)| r) - it's close, but not a drop-in replacement.

@bluss
Copy link
Member

bluss commented Feb 28, 2017

Ok, values and values_mut should definitely be added so that it's a drop in. As noted somewhere, std HashMap's Entry has two type parameters and ours has three, which is a not yet fixed discrepancy

@bluss bluss self-assigned this Feb 28, 2017
@bluss bluss closed this as completed in #18 Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants