Ver Fonte

lang: Change client_accounts visibility (#515)

Kirill Fomichev há 4 anos atrás
pai
commit
e4e64384dd
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      lang/syn/src/codegen/accounts/__client_accounts.rs

+ 1 - 1
lang/syn/src/codegen/accounts/__client_accounts.rs

@@ -105,7 +105,7 @@ pub fn generate(accs: &AccountsStruct) -> proc_macro2::TokenStream {
         ///
         /// To access the struct in this module, one should use the sibling
         /// `accounts` module (also generated), which re-exports this.
-        mod #account_mod_name {
+        pub(crate) mod #account_mod_name {
             use super::*;
             use anchor_lang::prelude::borsh;
             #(#re_exports)*