Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is resolve the following clippy error: warning: &-masking with zero --> devices/src/lib.rs:26:1 | 26 | / bitflags! { 27 | | pub struct AcpiNotificationFlags: u8 { 28 | | const NO_DEVICES_CHANGED = 0; 29 | | const CPU_DEVICES_CHANGED = 0b1; ... | 33 | | } 34 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bad_bit_mask = note: `#[warn(clippy::bad_bit_mask)]` on by default = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) Signed-off-by: Bo Chen <[email protected]>
- Loading branch information