lang, cli: Fix typos (#229)
This commit is contained in:
parent
a1464d14d5
commit
a108354536
|
@ -55,7 +55,7 @@ pub enum Command {
|
|||
/// Output directory for the IDL.
|
||||
#[clap(short, long)]
|
||||
idl: Option<String>,
|
||||
/// True if the build artifiact needs to be deterministic and verifiable.
|
||||
/// True if the build artifact needs to be deterministic and verifiable.
|
||||
#[clap(short, long)]
|
||||
verifiable: bool,
|
||||
},
|
||||
|
|
|
@ -41,7 +41,7 @@ pub enum IdlInstruction {
|
|||
SetAuthority { new_authority: Pubkey },
|
||||
}
|
||||
|
||||
// Accounts for the Create instuction.
|
||||
// Accounts for the Create instruction.
|
||||
pub type IdlCreateAccounts<'info> = crate::ctor::Ctor<'info>;
|
||||
|
||||
// Accounts for Idl instructions.
|
||||
|
|
|
@ -88,7 +88,7 @@ pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized {
|
|||
) -> Result<Self, ProgramError>;
|
||||
}
|
||||
|
||||
/// The exit procedure for an account. Any cleanup or persistance to storage
|
||||
/// The exit procedure for an account. Any cleanup or persistence to storage
|
||||
/// should be done here.
|
||||
pub trait AccountsExit<'info>: ToAccountMetas + ToAccountInfos<'info> {
|
||||
/// `program_id` is the currently executing program.
|
||||
|
|
Loading…
Reference in New Issue