Skip to content

Commit e7119cb

Browse files
committed
style: Simplify quote! {} formatting in generate_event_cpi_mod
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
1 parent 1e9fe84 commit e7119cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lang/syn/src/codegen/program/handlers.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,5 @@ fn generate_event_cpi_mod() -> proc_macro2::TokenStream {
235235
}
236236
}
237237
#[cfg(not(feature = "event-cpi"))]
238-
{
239-
quote! { }
240-
}
238+
quote! {}
241239
}

0 commit comments

Comments
 (0)