From f74b5950d1722ec55256edb189f3317061777d36 Mon Sep 17 00:00:00 2001 From: zancas Date: Thu, 12 Oct 2023 09:21:31 -0600 Subject: [PATCH] add not-very-much-better clippy fix --- zingocli/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zingocli/src/lib.rs b/zingocli/src/lib.rs index 75259e24e..cb12bd982 100644 --- a/zingocli/src/lib.rs +++ b/zingocli/src/lib.rs @@ -284,8 +284,8 @@ impl ConfigTemplate { // Begin short_circuit section let params: Vec = matches .values_of("PARAMS") - .map(|v| v.collect()) - .unwrap_or(vec![]) + .map(|v| v.collect::>()) + .unwrap_or_default() .iter() .map(|s| s.to_string()) .collect();