Skip to content

Commit 6f72eb1

Browse files
committed
Formatting
1 parent f699ad0 commit 6f72eb1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

macros/src/memoize.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ fn prepare_arg(input: &syn::FnArg) -> Result<Argument> {
5959
ident,
6060
subpat: None,
6161
..
62-
}) = typed.pat.as_ref() else {
62+
}) = typed.pat.as_ref()
63+
else {
6364
bail!(typed.pat, "only simple identifiers are supported");
6465
};
6566

macros/src/track.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ fn prepare_method(vis: syn::Visibility, sig: &syn::Signature) -> Result<Method>
133133
ident,
134134
subpat: None,
135135
..
136-
}) = typed.pat.as_ref() else {
136+
}) = typed.pat.as_ref()
137+
else {
137138
bail!(typed.pat, "only simple identifiers are supported");
138139
};
139140

0 commit comments

Comments
 (0)