Skip to content

Commit

Permalink
lang, cli: Fix typos (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
guanqun authored Apr 29, 2021
1 parent a1464d1 commit a108354
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
2 changes: 1 addition & 1 deletion lang/src/idl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lang/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a108354

Please sign in to comment.