Skip to content

Commit

Permalink
Comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jul 9, 2021
1 parent 4d3e301 commit f6371cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/program/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ pub enum InstructionError {
/// Warning: This error should never be emitted by the runtime.
///
/// This error includes strings from the underlying 3rd party Borsh crate
/// which can be dangerous beause the error strings could change across
/// which can be dangerous because the error strings could change across
/// Borsh versions. Only programs can use this error because they are
/// consistent across Solana software versions.
///
Expand All @@ -235,7 +235,7 @@ pub enum InstructionError {
/// Illegal account owner
#[error("Provided owner is not allowed")]
IllegalOwner,
// Note: For any new error added here an equivilent ProgramError and it's
// Note: For any new error added here an equivalent ProgramError and its
// conversions must also be added
}

Expand Down

0 comments on commit f6371cc

Please sign in to comment.