Skip to content

Commit 4b69799

Browse files
committed
Suppress used_underscore_binding on _self
Fixes #21.
1 parent 565a5ad commit 4b69799

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/expand.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ fn transform_block(
377377

378378
let brace = block.brace_token;
379379
*block = parse_quote!({
380+
#[allow(clippy::used_underscore_binding)]
380381
#standalone #block
381382
core::pin::Pin::from(Box::new(#inner::<#(#types),*>(#(#args),*)))
382383
});

0 commit comments

Comments
 (0)