From a44486d90480b9d891a91a4cab887af7b856e946 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Fri, 30 Aug 2024 13:20:34 +0300 Subject: [PATCH] imap: fix minor clippy lint Signed-off-by: Manos Pitsidianakis --- melib/src/imap/mod.rs | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/melib/src/imap/mod.rs b/melib/src/imap/mod.rs index 50e62607..1fce555a 100644 --- a/melib/src/imap/mod.rs +++ b/melib/src/imap/mod.rs @@ -999,23 +999,17 @@ impl MailBackend for ImapType { .await?; conn.read_response(&mut response, RequiredResponses::empty()) .await?; - imap_log!( - trace, - conn, - "EXPUNGE response: {}", - &String::from_utf8_lossy(&response) - ); } else { conn.send_command(CommandBody::Expunge).await?; conn.read_response(&mut response, RequiredResponses::empty()) .await?; - imap_log!( - trace, - conn, - "EXPUNGE response: {}", - &String::from_utf8_lossy(&response) - ); } + imap_log!( + trace, + conn, + "EXPUNGE response: {}", + &String::from_utf8_lossy(&response) + ); Ok(()) })) }