remove useless 'mut'
This commit is contained in:
parent
87fa949309
commit
013e2fab5c
@ -12,7 +12,7 @@ pub fn get_host(config: &mut ConfigManager) -> Result<Host> {
|
||||
}
|
||||
|
||||
let hosts = config.configs.to_owned();
|
||||
let mut hosts: Vec<Host> = hosts.into_iter().collect();
|
||||
let hosts: Vec<Host> = hosts.into_iter().collect();
|
||||
|
||||
let theme = ColorfulTheme::default();
|
||||
let mut select = Select::with_theme(&theme);
|
||||
|
Loading…
Reference in New Issue
Block a user