From c4cfe8399d9cc2cd53b9ecc762a356c119321f40 Mon Sep 17 00:00:00 2001 From: Caleb Cox Date: Tue, 14 Mar 2023 07:38:49 -0500 Subject: [PATCH] Fix new clippy lints --- src/tui/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/app.rs b/src/tui/app.rs index 579e1ff..6059846 100644 --- a/src/tui/app.rs +++ b/src/tui/app.rs @@ -125,7 +125,7 @@ impl App { }); } } - let mut mailboxes = mailboxes.into_values().into_iter().collect::>(); + let mut mailboxes = mailboxes.into_values().collect::>(); mailboxes.sort_by(|mailbox1, mailbox2| mailbox1.full_name.cmp(&mailbox2.full_name)); self.mailboxes.replace_items(mailboxes); Ok(())