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);