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
Change 2 booleans to 1 enum #103
Change 2 booleans to 1 enum #103
Conversation
@pwoolcoc The changes look good to me but both Travis and my own machine are telling that the latest rust nightly package have wreaked havoc on cargo. Testing with rustc 1.0.0-nightly (c4fe7d6ae 2015-02-23) (built 2015-02-24). Will check again later. |
I believe the last nightly broke cargo or something according to the PSA on reddit. |
Yea, I had to revert to 2015-02-22 to get cargo to work properly |
afc69ec
to
e58c1ed
Compare
I checked the travis build this morning, and it reminded me that I had forgotten to fix the tests :-/. So, I just pushed a fix for those, along with one more docs fix. |
@pwoolcoc Awesome, thanks a lot! |
e58c1ed
to
e9a621a
Compare
e9a621a
to
60a43e6
Compare
Since `socket.new_pollfd(false, false)` is not a particularly useful state to be in, change this API to use an enum instead of 2 booleans. This allows us to limit the API to only the states that are actually useful
60a43e6
to
e2e71e6
Compare
@blabaere all set! |
@thehydroimpulse I agree with Travis, we can safely merge PR #103. This would make the API more usable. |
Change 2 booleans to 1 enum
Since
socket.new_pollfd(false, false)
is not a particularly useful stateto be in, change this API to use an enum instead of 2 booleans. This allows
us to limit the API to only the states that are actually useful