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

Manually implemented PartialOrd and added a test for it #10

Merged
merged 1 commit into from
May 10, 2020

Conversation

macprog-guy
Copy link

Hello,

It seems that derived PartialOrd does not work. Therefor, instead of using the derived trait, I have added a simple implementation based on ustr::as_str.

Cheers,

@anderslanglands
Copy link
Owner

Thanks for the PR! When you say it doesn’t work, I assume you mean it’s not lexicographically ordered?

@macprog-guy
Copy link
Author

macprog-guy commented May 9, 2020 via email

@anderslanglands anderslanglands merged commit 8884f6c into anderslanglands:master May 10, 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.

None yet

2 participants