diff --git a/src/topic_monitor.rs b/src/topic_monitor.rs index 6bf28418d..614cf6ba3 100644 --- a/src/topic_monitor.rs +++ b/src/topic_monitor.rs @@ -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" );