mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 13:01:21 -03:00
Remove unnecessary parentheses
This was spotted by a lint on nightly Rust.
This commit is contained in:
@@ -380,7 +380,7 @@ pub fn post(&self, topic: Topic) {
|
||||
}
|
||||
// Note that if the STATUS_NEEDS_WAKEUP bit is set, no other bits must be set.
|
||||
assert!(
|
||||
((oldstatus == STATUS_NEEDS_WAKEUP) == ((oldstatus & STATUS_NEEDS_WAKEUP) != 0)),
|
||||
(oldstatus == STATUS_NEEDS_WAKEUP) == ((oldstatus & STATUS_NEEDS_WAKEUP) != 0),
|
||||
"If STATUS_NEEDS_WAKEUP is set no other bits should be set"
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user