mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
Update to syn 2 (#1862)
This commit is contained in:
@@ -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?))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user