Skip to content

Commit

Permalink
fixup! unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
evertedsphere committed Apr 12, 2023
1 parent 00cce38 commit 6dcaecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio-macros/src/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ fn parse_knobs(mut input: syn::ItemFn, is_test: bool, config: FinalConfig) -> To
input.sig.asyncness = None;

// If type mismatch occurs, the current rustc points to the last statement.
let (last_stmt_start_span, last_stmt_end_span) = {
let (last_stmt_start_span, _last_stmt_end_span) = {
let mut last_stmt = input
.block
.stmts
Expand Down

0 comments on commit 6dcaecc

Please sign in to comment.