mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 23:36:30 +03:00
Fix some clippy warnings
This commit is contained in:
committed by
Floris Bruynooghe
parent
d7c42f3c98
commit
4732085421
@@ -522,7 +522,7 @@ pub fn perform_smtp_idle(context: &Context) {
|
||||
let res = cvar.wait_timeout(state, dur).unwrap();
|
||||
state = res.0;
|
||||
|
||||
if state.idle == true || res.1.timed_out() {
|
||||
if state.idle || res.1.timed_out() {
|
||||
// We received the notification and the value has been updated, we can leave.
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user