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

impl Index<usize> for Keys #285

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Nov 1, 2023

While Index<usize> for IndexMap accesses a map's values, indexing through IndexMap::keys offers an alternative to access a map's keys instead.

Resolves #284.

@cuviper cuviper merged commit fda1ec4 into indexmap-rs:master Jan 12, 2024
14 checks passed
@cuviper cuviper deleted the index-keys branch January 13, 2024 00:56
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.

Feature request: Add Index<usize> to Keys
1 participant