Skip to content

Commit

Permalink
Upgrade to Syn 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Mar 27, 2023
1 parent 18d44c5 commit ea946e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/fj-proc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ version = "1.0.158"
optional = true

[dependencies.syn]
version = "1.0.109"
version = "2.0.10"
features = ["full", "extra-traits"]
2 changes: 1 addition & 1 deletion crates/fj-proc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ fn without_param_attrs(mut item: ItemFn) -> ItemFn {
FnArg::Receiver(r) => &mut r.attrs,
FnArg::Typed(t) => &mut t.attrs,
};
attrs.retain(|attr| !attr.path.is_ident("param"));
attrs.retain(|attr| !attr.path().is_ident("param"));
}

item
Expand Down

0 comments on commit ea946e3

Please sign in to comment.