From 97602a9c9ca854fcfacbd86854b6e71f013ab35a Mon Sep 17 00:00:00 2001 From: Alistair Israel Date: Sat, 16 Mar 2024 23:52:59 -0400 Subject: [PATCH] clippy --- src/ghctl/repo/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ghctl/repo/config.rs b/src/ghctl/repo/config.rs index 9deed3a..59e3d17 100644 --- a/src/ghctl/repo/config.rs +++ b/src/ghctl/repo/config.rs @@ -437,7 +437,7 @@ pub async fn apply( access_token: &str, owner: &str, repo: &str, - config_files: &Vec, + config_files: &[String], ) -> Result<()> { debug!("Applying configuration to {owner}/{repo}"); @@ -502,7 +502,7 @@ where { if let Some(map1) = map1 { if let Some(map2) = map2 { - Some(map1.into_iter().chain(map2.into_iter()).collect()) + Some(map1.into_iter().chain(map2).collect()) } else { Some(map1) }