From dc1987a77bcb95f1a1dfed424b1809a707bffb3d Mon Sep 17 00:00:00 2001 From: jane400 Date: Mon, 16 Sep 2024 10:15:39 +0200 Subject: [PATCH] format: libpaket: utils.rs --- libpaket/src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpaket/src/utils.rs b/libpaket/src/utils.rs index befc15b..1d22cb2 100644 --- a/libpaket/src/utils.rs +++ b/libpaket/src/utils.rs @@ -184,7 +184,7 @@ macro_rules! parse_json_response { let mut unused = std::collections::BTreeSet::new(); println!("res({}): {}", stringify!($type), res); - let res: Result<$type,_> = serde_ignored::deserialize(jd, |path| { + let res: Result<$type, _> = serde_ignored::deserialize(jd, |path| { unused.insert(path.to_string()); }); println!("res({}): {:?}", stringify!($type), unused); @@ -205,7 +205,7 @@ macro_rules! parse_json_response_from_apiresult { let mut unused = std::collections::BTreeSet::new(); println!("res({}): {}", stringify!($type), res); - let res: Result,_> = serde_ignored::deserialize(jd, |path| { + let res: Result, _> = serde_ignored::deserialize(jd, |path| { unused.insert(path.to_string()); }); println!("res({}): {:?}", stringify!($type), unused);