From f46f3e939efacf650689402b55e6bb09b41a18fc Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 1 Apr 2023 17:18:13 +0000 Subject: [PATCH] clippy fix --- src/scheduler/connectivity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scheduler/connectivity.rs b/src/scheduler/connectivity.rs index 4ea09b1a5..472b10001 100644 --- a/src/scheduler/connectivity.rs +++ b/src/scheduler/connectivity.rs @@ -398,7 +398,7 @@ impl Context { if let Some(quota) = &*quota { match "a.recent { Ok(quota) => { - if quota.len() > 0 { + if !quota.is_empty() { for (root_name, resources) in quota { use async_imap::types::QuotaResourceName::*; for resource in resources {