Skip to content

Commit

Permalink
lang: Rename derive_anchor_deserialize -> derive_init_space (coral-xy…
Browse files Browse the repository at this point in the history
  • Loading branch information
snawaz authored Jun 4, 2023
1 parent 1c6f86e commit 835dc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/derive/space/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use syn::{
/// }
/// ```
#[proc_macro_derive(InitSpace, attributes(max_len))]
pub fn derive_anchor_deserialize(item: TokenStream) -> TokenStream {
pub fn derive_init_space(item: TokenStream) -> TokenStream {
let input = parse_macro_input!(item as DeriveInput);
let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl();
let name = input.ident;
Expand Down

0 comments on commit 835dc5b

Please sign in to comment.