Skip to content

Commit b4b7b2b

Browse files
committed
Allow clippy lint
1 parent 275784b commit b4b7b2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/schema-derive/src/generate_api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ macro_rules! option_dispatch {
148148
($opt:expr, $closure:expr) => {{
149149
match $opt {
150150
Some(ref ty) => {
151+
#[allow(clippy::redundant_closure_call)]
151152
let tokens = $closure(ty);
152153
quote! { Some(#tokens) }
153154
}

0 commit comments

Comments
 (0)