clippy fix

This commit is contained in:
link2xt
2023-04-01 17:18:13 +00:00
committed by bjoern
parent 9d8e836fdd
commit f46f3e939e

View File

@@ -398,7 +398,7 @@ impl Context {
if let Some(quota) = &*quota {
match &quota.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 {