Skip to content

Commit

Permalink
fix: Simplify internal syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten committed Aug 30, 2024
1 parent 9e1ef6b commit 89e703e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ fn convert_sync_async(
tokens
};

let mut dia = DesugarIfAsync { is_async };
dia.desugar_if_async(tokens)
DesugarIfAsync { is_async }.desugar_if_async(tokens)
}

#[proc_macro_attribute]
Expand Down

0 comments on commit 89e703e

Please sign in to comment.