Skip to content

Manually implemented PartialOrd and added a test for it#10

Merged
anderslanglands merged 1 commit intoanderslanglands:masterfrom
macprog-guy:master
May 10, 2020
Merged

Manually implemented PartialOrd and added a test for it#10
anderslanglands merged 1 commit intoanderslanglands:masterfrom
macprog-guy:master

Conversation

@macprog-guy
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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.

2 participants