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 PartialOrd and Ord for PeerId #1594

Merged
merged 2 commits into from
Jun 15, 2020
Merged

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented May 28, 2020

for using PeerId in order based collections, and for other niceties like deterministic debug output when e.g. printing a set of peer ids.

Ord uses borrow to be consistent with equality.

for using PeerId in order based collections. Ord uses borrow to be
consistent with equality.
@tomaka
Copy link
Member

tomaka commented Jun 5, 2020

You seem to have unchecked the "Allow maintainers to modify my branch" checkbox, so please merge master so we can merge this.

@rklaehn
Copy link
Contributor Author

rklaehn commented Jun 15, 2020

Sorry, was on holiday.

@romanb romanb merged commit 926274e into libp2p:master Jun 15, 2020
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.

3 participants