From 399de3d42fbe719694d163e44ae0b49d7c77663b Mon Sep 17 00:00:00 2001 From: Pi-Cla Date: Sun, 11 Aug 2024 01:46:04 -0600 Subject: Clippy Fixes --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index abbb8a5..91ff57c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -367,7 +367,7 @@ where { let list: Option>> = Option::deserialize(deserializer).map_err(DE::custom)?; - Ok(list.map(|list| list.into_iter().filter_map(|x| x).collect::>())) + Ok(list.map(|list| list.into_iter().flatten().collect::>())) } fn parse_ssh_url(raw_url: &String) -> Result { -- cgit v1.2.3