Comment cleanup

This commit is contained in:
Michael Vines 2021-07-08 21:35:58 -07:00
parent 4d3e301ee4
commit f6371cce17
1 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ pub enum InstructionError {
/// Warning: This error should never be emitted by the runtime. /// Warning: This error should never be emitted by the runtime.
/// ///
/// This error includes strings from the underlying 3rd party Borsh crate /// 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 /// Borsh versions. Only programs can use this error because they are
/// consistent across Solana software versions. /// consistent across Solana software versions.
/// ///
@ -235,7 +235,7 @@ pub enum InstructionError {
/// Illegal account owner /// Illegal account owner
#[error("Provided owner is not allowed")] #[error("Provided owner is not allowed")]
IllegalOwner, 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 // conversions must also be added
} }