From 9d6aef34add7a1bf32e754951a3d500721a2e626 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 15 May 2023 18:23:23 +0200 Subject: clippy lint fix --- src/imap/command/selected.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imap/command/selected.rs') diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs index 0be8ff2..90a00ee 100644 --- a/src/imap/command/selected.rs +++ b/src/imap/command/selected.rs @@ -21,7 +21,7 @@ pub struct SelectedContext<'a> { pub mailbox: &'a mut MailboxView, } -pub async fn dispatch<'a>(ctx: SelectedContext<'a>) -> Result<(Response, flow::Transition)> { +pub async fn dispatch(ctx: SelectedContext<'_>) -> Result<(Response, flow::Transition)> { match &ctx.req.command.body { // Only write commands here, read commands are handled in // `examined.rs` -- cgit v1.2.3