Fix spurious bitflags usage

This commit is contained in:
Zhang Junyang
2023-08-02 13:50:59 +08:00
committed by Tate, Hongliang Tian
parent 18f601dc79
commit 901cbebe44
2 changed files with 9 additions and 10 deletions

View File

@ -131,7 +131,7 @@ impl Waiter {
bitflags! {
pub struct WaiterFlag: u32 {
const EXCLUSIVE = 0x1;
const INTERRUPTIABLE = 0x10;
const EXCLUSIVE = 1 << 0;
const INTERRUPTIABLE = 1 << 1;
}
}