Skip to content

Commit 422334b

Browse files
fragchainswaroop-osec
authored andcommitted
chore: fixed incorrect syntax in generic type usage
1 parent abcd3bd commit 422334b

File tree

1 file changed

+1
-1
lines changed
  • lang/attribute/program/src/declare_program/mods

1 file changed

+1
-1
lines changed

lang/attribute/program/src/declare_program/mods/cpi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn gen_cpi_instructions(idl: &Idl) -> proc_macro2::TokenStream {
5353
Some(ty) => {
5454
let ty = convert_idl_type_to_syn_type(ty);
5555
(
56-
quote! { anchor_lang::Result<Return::<#ty>> },
56+
quote! { anchor_lang::Result<Return<#ty>> },
5757
quote! { Ok(Return::<#ty> { phantom: std::marker::PhantomData }) },
5858
)
5959
},

0 commit comments

Comments
 (0)