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

Compare values in TreeMap's 'lt' function #7530

Merged
merged 1 commit into from
Jul 5, 2013

Conversation

alexcrichton
Copy link
Member

Closes #5194

@thestinger
Copy link
Contributor

@alexcrichton: could you add a test for this? mostly just to document the behaviour (that it acts as comparing a vector of tuples would).

@alexcrichton
Copy link
Member Author

Oh good point, removing the r+ until I do that.

@alexcrichton
Copy link
Member Author

@thestinger, turned out that I should have updated the existing tests anyway, and they exercise some functionality anyway.

bors added a commit that referenced this pull request Jul 5, 2013
@bors bors closed this Jul 5, 2013
@bors bors merged commit 87b6129 into rust-lang:master Jul 5, 2013
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.

the TreeMap Ord implementation is not 100% correct
3 participants