mirror of
https://github.com/bytedream/serde-inline-default.git
synced 2026-11-04 07:02:10 +01:00
build: update syn to version 3.0
This commit is contained in:
1 parent
2865e49da3
commit
6132d5369f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ doctest = false
|
||||
[dependencies]
|
||||
proc-macro2 = "1.0"
|
||||
quote = "1.0"
|
||||
syn = { version = "2.0", features = ["full"] }
|
||||
syn = { version = "3.0", features = ["full"] }
|
||||
|
||||
[dev-dependencies]
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ pub(crate) fn type_lifetimes_to_static(ty: &mut Type) {
|
||||
}
|
||||
PathArguments::Parenthesized(parenthesized) => {
|
||||
for input in &mut parenthesized.inputs {
|
||||
type_lifetimes_to_static(input)
|
||||
type_lifetimes_to_static(&mut input.ty)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user