lang, cli: Fix typos (#229)

This commit is contained in:
guanqun 2021-04-30 01:24:43 +08:00 committed by GitHub
parent a1464d14d5
commit a108354536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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,
},

View File

@ -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.

View File

@ -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.