From 7d65a7d702017e81ab66d78e209713235974eb6e Mon Sep 17 00:00:00 2001 From: Sarfaraz Nawaz Date: Sat, 3 Jun 2023 02:34:50 +0530 Subject: [PATCH] Rename derive_anchor_deserialize -> derive_init_space It was a typo.. due to copy paste from other file. --- lang/derive/space/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/derive/space/src/lib.rs b/lang/derive/space/src/lib.rs index 22a3da8e2c..bd045b0c4e 100644 --- a/lang/derive/space/src/lib.rs +++ b/lang/derive/space/src/lib.rs @@ -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;