Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ngundotra committed Mar 30, 2023
1 parent bca57d6 commit ffd6fb1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lang/attribute/event/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ pub fn emit(input: proc_macro::TokenStream) -> proc_macro::TokenStream {

#[proc_macro]
pub fn emit_cpi(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
// let strct: proc_macro2::TokenStream = input.into();
let tuple = parse_macro_input!(input as syn::ExprTuple);

let elems = tuple.elems;
Expand All @@ -105,13 +104,6 @@ pub fn emit_cpi(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
})
}

// #[proc_macro]
// pub fn _emit_cpi_data(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
// let data: proc_macro2::TokenStream = input.into();
// proc_macro::TokenStream::from(quote! {
// })
// }

// EventIndex is a marker macro. It functionally does nothing other than
// allow one to mark fields with the `#[index]` inert attribute, which is
// used to add metadata to IDLs.
Expand Down

0 comments on commit ffd6fb1

Please sign in to comment.