From 33fa51021cce58e170ae0c943ab8c8b9fa94d6a9 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 13 Jul 2022 11:39:13 +0200 Subject: Small changes to .update() --- src/imap/command/authenticated.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/imap/command') diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs index 7f6531c..6c2e43b 100644 --- a/src/imap/command/authenticated.rs +++ b/src/imap/command/authenticated.rs @@ -172,10 +172,7 @@ impl<'a> AuthenticatedContext<'a> { } else { "LIST completed" }; - Ok(( - Response::ok(msg)?.with_body(ret), - flow::Transition::None, - )) + Ok((Response::ok(msg)?.with_body(ret), flow::Transition::None)) } async fn status( -- cgit v1.2.3