From fc575cc63d8558547529dca3db0b329ab5a67bf6 Mon Sep 17 00:00:00 2001 From: Jordan Sexton Date: Tue, 2 Aug 2022 23:34:05 -0500 Subject: [PATCH] commas -> semicolons --- token/program/src/instruction.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/token/program/src/instruction.rs b/token/program/src/instruction.rs index 9d88ce2949c..7ab9b31a283 100644 --- a/token/program/src/instruction.rs +++ b/token/program/src/instruction.rs @@ -520,7 +520,7 @@ impl<'a> TokenInstruction<'a> { 11 => Self::ThawAccount, 12 => { if rest.len() < 8 { - return Err(TokenError::InvalidInstruction.into()), + return Err(TokenError::InvalidInstruction.into()); } let (amount, rest) = rest.split_at(8); let amount = amount @@ -534,7 +534,7 @@ impl<'a> TokenInstruction<'a> { } 13 => { if rest.len() < 8 { - return Err(TokenError::InvalidInstruction.into()), + return Err(TokenError::InvalidInstruction.into()); } let (amount, rest) = rest.split_at(8); let amount = amount @@ -548,7 +548,7 @@ impl<'a> TokenInstruction<'a> { } 14 => { if rest.len() < 8 { - return Err(TokenError::InvalidInstruction.into()), + return Err(TokenError::InvalidInstruction.into()); } let (amount, rest) = rest.split_at(8); let amount = amount @@ -562,7 +562,7 @@ impl<'a> TokenInstruction<'a> { } 15 => { if rest.len() < 8 { - return Err(TokenError::InvalidInstruction.into()), + return Err(TokenError::InvalidInstruction.into()); } let (amount, rest) = rest.split_at(8); let amount = amount @@ -601,7 +601,7 @@ impl<'a> TokenInstruction<'a> { 22 => Self::InitializeImmutableOwner, 23 => { if rest.len() < 8 { - return Err(TokenError::InvalidInstruction.into()), + return Err(TokenError::InvalidInstruction.into()); } let (amount, _rest) = rest.split_at(8); let amount = amount