Skip to content

Commit 19178a9

Browse files
committed
update packages
1 parent 649cee6 commit 19178a9

3 files changed

Lines changed: 60 additions & 50 deletions

File tree

Cargo.lock

Lines changed: 58 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/vey-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ proc-macro = true
99

1010
[dependencies]
1111
proc-macro2 = "1.0"
12-
syn = { version = "2.0", features = ["full"] }
12+
syn = { version = "3.0", features = ["full"] }
1313
quote = "1.0"

lib/vey-macros/src/any_config.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ pub(super) fn derive(input: DeriveInput) -> TokenStream {
7171

7272
let fn_name = v.name;
7373
let expanded = match v.types.pop() {
74-
Some(pair) => {
75-
let fn_result = pair.into_value();
74+
Some(fn_result) => {
7675
if v.types.is_empty() {
7776
if is_async {
7877
derive_async_fn_r(&fn_name, fn_result, &arm_attrs, &arm_idents)

0 commit comments

Comments
 (0)