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

pub use equivalent::Equivalent; #264

Merged
merged 2 commits into from Jun 23, 2023
Merged

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Jun 6, 2023

This adds a dependency on equivalent = 1 and re-exports its Equivalent trait instead of defining it locally. There's no functional change, but this makes it possible for types that impl Equivalent to work with multiple kinds of maps, assuming others also adopt this.

Closes #253.

@cuviper cuviper merged commit 74e14da into indexmap-rs:master Jun 23, 2023
13 checks passed
@cuviper cuviper deleted the equivalent branch June 23, 2023 23:05
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.

Extract Equivalent trait into a separate crate
1 participant