Skip to content

pub use equivalent::Equivalent;#264

Merged
cuviper merged 2 commits intoindexmap-rs:masterfrom
cuviper:equivalent
Jun 23, 2023
Merged

pub use equivalent::Equivalent;#264
cuviper merged 2 commits intoindexmap-rs:masterfrom
cuviper:equivalent

Conversation

@cuviper
Copy link
Copy Markdown
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
@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