mirror of
https://github.com/Noratrieb/mono-fmt.git
synced 2026-01-14 15:25:08 +01:00
Cleanups
This commit is contained in:
parent
61814d9a6d
commit
822a85e4ce
8 changed files with 74 additions and 42 deletions
|
|
@ -75,8 +75,7 @@ impl ToTokens for Scoped<'_, Format<'_>> {
|
|||
let idents = pos_idents.chain(named_idents);
|
||||
|
||||
tokens.extend(quote! {
|
||||
#[allow(unused_parens)]
|
||||
match (#(&#args),*) {
|
||||
match { #[allow(unused_parens)] (#(&#args),*) } {
|
||||
(#(#idents),*) => (
|
||||
#(#parts),*
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue