From 013e2fab5cdf7dd1b1b17a2a81ea357919cd4cb6 Mon Sep 17 00:00:00 2001 From: 0xf8 <0xf8.dev@proton.me> Date: Mon, 29 May 2023 23:44:25 -0400 Subject: [PATCH] remove useless 'mut' --- src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.rs b/src/input.rs index 7b2bf8e..866f4e0 100644 --- a/src/input.rs +++ b/src/input.rs @@ -12,7 +12,7 @@ pub fn get_host(config: &mut ConfigManager) -> Result { } let hosts = config.configs.to_owned(); - let mut hosts: Vec = hosts.into_iter().collect(); + let hosts: Vec = hosts.into_iter().collect(); let theme = ColorfulTheme::default(); let mut select = Select::with_theme(&theme);