Update to syn 2 (#1862)

This commit is contained in:
David Pedersen
2023-03-18 19:23:27 +00:00
committed by GitHub
parent b315e5b37e
commit 8e1eb8979f
19 changed files with 28 additions and 25 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ where
{
attrs
.iter()
.filter(|attr| attr.path.is_ident(ident))
.filter(|attr| attr.meta.path().is_ident(ident))
.map(|attr| attr.parse_args::<T>())
.try_fold(T::default(), |out, next| out.combine(next?))
}