-
-
Notifications
You must be signed in to change notification settings - Fork 477
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
egl: remove cfg from code not needing them #1707
Conversation
I also wonder if we need optimizations like: glutin/glutin/src/api/egl/config.rs Lines 330 to 347 in 5a7783c
This should compile down to |
that's to avoid clippy lints and is easier to read. |
Didn't we typically disable that lint because this "single match arm" occurs in many more places in I don't find the (negated) |
We don't disable it and it's never triggered., you can grep for it |
Seems like clippy doesn't complain about it, so I guess it's fine. |
We can not do anything about the gl_generator at this point, so just continue disabling things clippy don't really like.
--
@MarijnS95 I think something like that?