diff --git a/cli/src/main.rs b/cli/src/main.rs index 1b075bc80..f31ed1a32 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -55,7 +55,7 @@ pub enum Command { /// Output directory for the IDL. #[clap(short, long)] idl: Option, - /// 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, }, diff --git a/lang/src/idl.rs b/lang/src/idl.rs index 279ae4f15..7a1655be0 100644 --- a/lang/src/idl.rs +++ b/lang/src/idl.rs @@ -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. diff --git a/lang/src/lib.rs b/lang/src/lib.rs index e6a6fd64d..032bb4d97 100644 --- a/lang/src/lib.rs +++ b/lang/src/lib.rs @@ -88,7 +88,7 @@ pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { ) -> Result; } -/// 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.