Skip to content

drop is_not_empty from TreeSet/TreeMap #4586

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

Merged
merged 1 commit into from
Jan 23, 2013
Merged

drop is_not_empty from TreeSet/TreeMap #4586

merged 1 commit into from
Jan 23, 2013

Conversation

thestinger
Copy link
Contributor

I added this method because it seemed like an existing convention, but now I've realized the is_not methods are just a legacy thing. This method wasn't implemented in send_map, and I left it off the Container trait. It's simpler just to have is_empty and use !foo.is_empty().

@graydon
Copy link
Contributor

graydon commented Jan 23, 2013

r+ thanks

catamorphism added a commit that referenced this pull request Jan 23, 2013
drop is_not_empty from TreeSet/TreeMap
@catamorphism catamorphism merged commit dfa97c2 into rust-lang:incoming Jan 23, 2013
@thestinger thestinger deleted the treemap branch January 23, 2013 12:10
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