-
Notifications
You must be signed in to change notification settings - Fork 66
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
Missing None definition #53
Comments
|
Ah ok, thanks. I guess i will stick to the |
Maybe I'll throw it back in when version 3 is ready. Glob imports are evil anyway. |
I think the constant should exist. Name collision is unavoidable, and solved with crate namespacing. Anyone who wants to annoy all future maintainers of their software with |
As @dagit mentioned, I do think having maybe a |
I'm porting some code from C to Rust, and it is frequently using
None
to compare againstWindow
orAtom
. In theX11/X.h
None
is defined to be0
by preprocessor macro. Currently i compare values against0
, but that doesn't seem like a good idea. What is the reason behindNone
not being in the API ?The text was updated successfully, but these errors were encountered: