You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clippy lints against the 1 << 0 because it has no effect. This is a fairly common structure-- it'd be nice to perhaps make an exception for this specific case.
The text was updated successfully, but these errors were encountered:
When writing bitflags it's convenient to structure code like this:
Clippy lints against the
1 << 0
because it has no effect. This is a fairly common structure-- it'd be nice to perhaps make an exception for this specific case.The text was updated successfully, but these errors were encountered: