From f6371cce176d481b4132e5061262ca015db0f8b1 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 8 Jul 2021 21:35:58 -0700 Subject: [PATCH] Comment cleanup --- sdk/program/src/instruction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/program/src/instruction.rs b/sdk/program/src/instruction.rs index 1ad9cfa9d7..2db83fa85a 100644 --- a/sdk/program/src/instruction.rs +++ b/sdk/program/src/instruction.rs @@ -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. /// @@ -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 }